/[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.10 by sysadm, Wed Apr 30 09:18:19 2025 UTC Revision 1.11 by sysadm, Sun May 4 14:54:55 2025 UTC
# Line 27  char BBS_name[50] = ""; Line 27  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;  unsigned int BBS_port = 23;
30  long BBS_max_client = 256;  unsigned int BBS_max_client = 256;
31  long 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日";
33    
34  char BBS_username[BBS_max_username_length];  char BBS_username[BBS_username_max_len + 1];
35  int BBS_user_money = 0;  int BBS_user_money = 0;
36    
37  time_t BBS_login_tm;  time_t BBS_login_tm;
# Line 41  char BBS_current_section_name[20]; Line 41  char BBS_current_section_name[20];
41    
42  char *setuserfile(char *buf, const char *filename)  char *setuserfile(char *buf, const char *filename)
43  {  {
44          sprintf(buf, "var/%s/%ld", filename, BBS_priv.uid);          sprintf(buf, "%s/%ld", filename, BBS_priv.uid);
         return buf;  
 }  
   
 char *sethomefile(char *buf, long int uid, char *filename)  
 {  
         sprintf(buf, "var/%s/%ld", filename, uid);  
45          return buf;          return buf;
46  }  }


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

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