Commits (2)
...@@ -1728,7 +1728,7 @@ const char* sbbs_t::atcode(char* sp, char* str, size_t maxlen, long* pmode, bool ...@@ -1728,7 +1728,7 @@ const char* sbbs_t::atcode(char* sp, char* str, size_t maxlen, long* pmode, bool
else if(!strcmp(sp,"FTODAY")) else if(!strcmp(sp,"FTODAY"))
safe_snprintf(str,maxlen,"%lu", (ulong)stats.ftoday); safe_snprintf(str,maxlen,"%lu", (ulong)stats.ftoday);
else if(!strcmp(sp,"NUSERS")) else if(!strcmp(sp,"NUSERS"))
safe_snprintf(str,maxlen,"%u",stats.nusers); safe_snprintf(str,maxlen,"%lu",stats.nusers);
return(str); return(str);
} }
......
...@@ -9,6 +9,7 @@ OBJS := \ ...@@ -9,6 +9,7 @@ OBJS := \
$(MTOBJODIR)/scfglib1$(OFILE) \ $(MTOBJODIR)/scfglib1$(OFILE) \
$(MTOBJODIR)/scfglib2$(OFILE) \ $(MTOBJODIR)/scfglib2$(OFILE) \
$(MTOBJODIR)/userdat$(OFILE) \ $(MTOBJODIR)/userdat$(OFILE) \
$(MTOBJODIR)/getstats$(OFILE) \
$(MTOBJODIR)/msgdate$(OFILE) \ $(MTOBJODIR)/msgdate$(OFILE) \
$(MTOBJODIR)/str_util$(OFILE) \ $(MTOBJODIR)/str_util$(OFILE) \
$(MTOBJODIR)/chatfuncs$(OFILE) \ $(MTOBJODIR)/chatfuncs$(OFILE) \
......