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

Diff of /lbbs/src/main.c

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

Revision 1.8 by sysadm, Fri Oct 22 17:45:36 2004 UTC Revision 1.9 by sysadm, Thu Mar 17 10:48:46 2005 UTC
# Line 18  Line 18 
18  #include "bbs.h"  #include "bbs.h"
19  #include "common.h"  #include "common.h"
20  #include "io.h"  #include "io.h"
21    #include "menu.h"
22  #include <string.h>  #include <string.h>
23    
24  void  void
# Line 132  main (int argc, char *argv[]) Line 133  main (int argc, char *argv[])
133    if (load_conf(file_config)<0)    if (load_conf(file_config)<0)
134      exit(-2);      exit(-2);
135    
136      //Load menus
137      strcpy(file_config, app_home_dir);
138      strcat(file_config, "conf/main_menu.conf");
139      if (load_menu(&bbs_main_menu, file_config)<0)
140        exit(-3);
141    
142    //Initialize socket server    //Initialize socket server
143    net_server(BBS_address, BBS_port);    net_server(BBS_address, BBS_port);
144    


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

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