/[LeafOK_CVS]/lbbs/src/bbs.c
ViewVC logotype

Diff of /lbbs/src/bbs.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.12 by sysadm, Mon May 5 11:46:04 2025 UTC Revision 1.13 by sysadm, Mon May 5 14:27:57 2025 UTC
# Line 26  char BBS_id[20] = ""; Line 26  char BBS_id[20] = "";
26  char BBS_name[50] = "";  char BBS_name[50] = "";
27  char BBS_server[256] = "";  char BBS_server[256] = "";
28  char BBS_address[50] = "";  char BBS_address[50] = "";
29  unsigned int BBS_port = 23;  in_port_t BBS_port = 23;
30  unsigned int BBS_max_client = 256;  unsigned int BBS_max_client = 256;
31  unsigned int BBS_max_user = 10000;  unsigned int BBS_max_user = 10000;
32  char BBS_start_dt[50] = "2004年 1月 1日";  char BBS_start_dt[50] = "2004年 1月 1日";
# Line 39  time_t BBS_last_access_tm; Line 39  time_t BBS_last_access_tm;
39    
40  char BBS_current_section_name[20];  char BBS_current_section_name[20];
41    
42  char *setuserfile(char *buf, int len, const char *filename)  char *setuserfile(char *buf, size_t len, const char *filename)
43  {  {
44          snprintf(buf, len, "%s/%ld", filename, BBS_priv.uid);          snprintf(buf, len, "%s/%ld", filename, BBS_priv.uid);
45          return buf;          return buf;


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1