/[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.11 by sysadm, Mon Apr 28 03:30:59 2025 UTC Revision 1.13 by sysadm, Wed Apr 30 09:18:19 2025 UTC
# Line 15  Line 15 
15   *                                                                         *   *                                                                         *
16   ***************************************************************************/   ***************************************************************************/
17    
18    #include "init.h"
19  #include "bbs.h"  #include "bbs.h"
20  #include "common.h"  #include "common.h"
21    #include "log.h"
22  #include "io.h"  #include "io.h"
23    #include <string.h>
24    #include <stdlib.h>
25  #include <signal.h>  #include <signal.h>
26  #include <sys/param.h>  #include <sys/param.h>
27  #include <sys/types.h>  #include <sys/types.h>
# Line 118  int load_conf(const char *conf_file) Line 122  int load_conf(const char *conf_file)
122                  {                  {
123                          fscanf(fin, "%s", DB_database);                          fscanf(fin, "%s", DB_database);
124                  }                  }
125                    if (strcmp(c_name, "db_timezone") == 0)
126                    {
127                            fscanf(fin, "%s", DB_timezone);
128                    }
129          }          }
130    
131          fclose(fin);          fclose(fin);


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

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