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

Diff of /lbbs/src/init.c

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

Revision 1.24 by sysadm, Thu Jun 5 08:36:02 2025 UTC Revision 1.29 by sysadm, Wed Jul 2 04:17:33 2025 UTC
# Line 14  Line 14 
14   *                                                                         *   *                                                                         *
15   ***************************************************************************/   ***************************************************************************/
16    
 #include "init.h"  
 #include "database.h"  
17  #include "bbs.h"  #include "bbs.h"
18  #include "common.h"  #include "common.h"
19  #include "log.h"  #include "database.h"
20    #include "init.h"
21  #include "io.h"  #include "io.h"
22  #include <string.h>  #include "log.h"
 #include <stdlib.h>  
23  #include <signal.h>  #include <signal.h>
24    #include <stdlib.h>
25    #include <string.h>
26    #include <unistd.h>
27  #include <sys/param.h>  #include <sys/param.h>
 #include <sys/types.h>  
28  #include <sys/stat.h>  #include <sys/stat.h>
29  #include <unistd.h>  #include <sys/types.h>
30    
31  #define CONF_DELIM_WITH_SPACE " \t\r\n"  #define CONF_DELIM_WITH_SPACE " \t\r\n"
32    
# Line 174  int load_conf(const char *conf_file) Line 174  int load_conf(const char *conf_file)
174                                  log_error("Ignore config bbs_start_dt with incorrect value\n");                                  log_error("Ignore config bbs_start_dt with incorrect value\n");
175                                  continue;                                  continue;
176                          }                          }
177                          snprintf(BBS_start_dt, sizeof(BBS_start_dt), "%4sÄê%2sÔÂ%2sÈÕ", y, m, d);                          snprintf(BBS_start_dt, sizeof(BBS_start_dt), "%4så¹´%2s月%2sæ—¥", y, m, d);
178                  }                  }
179                  else if (strcasecmp(p, "db_host") == 0)                  else if (strcasecmp(p, "db_host") == 0)
180                  {                  {


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

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