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