[Gnupos-cvs] gnp-server/src main.c,1.4,1.5
Status: Pre-Alpha
Brought to you by:
conrad_c
From: <con...@us...> - 2003-06-30 13:54:18
|
Update of /cvsroot/gnupos/gnp-server/src In directory sc8-pr-cvs1:/tmp/cvs-serv30612 Modified Files: main.c Log Message: Few small modifications. Index: main.c =================================================================== RCS file: /cvsroot/gnupos/gnp-server/src/main.c,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** main.c 21 Feb 2003 12:33:54 -0000 1.4 --- main.c 30 Jun 2003 13:54:13 -0000 1.5 *************** *** 36,56 **** innermain (int argc, char **argv, void *closure) { ! if (gnps_verbose) ! printf("Initialising internal data structures.\n"); gnps_initialise_structures (); ! if(gnps_verbose) ! printf("Initialising communications.\n"); gnps_initialise_comms (); ! if (gnps_verbose) ! printf("Initialising guile functions.\n"); gnps_initialise_guile (); ! if (gnps_verbose) ! printf("Starting event loop.\n"); /* gnp_global_data.ui_event_ptr(); */ --- 36,52 ---- innermain (int argc, char **argv, void *closure) { ! verprintf("Initialising internal data structures.\n"); gnps_initialise_structures (); ! verprintf("Initialising communications.\n"); gnps_initialise_comms (); ! verprintf("Initialising guile functions.\n"); gnps_initialise_guile (); ! verprintf("Starting event loop.\n"); /* gnp_global_data.ui_event_ptr(); */ *************** *** 116,126 **** gnps_init_logging(); ! if(gnps_verbose) ! printf("Reading configuration file\n"); gnps_read_config (); ! if(gnps_verbose) ! printf ("Initialising Guile.\n"); scm_boot_guile (argc, &argv, innermain, NULL); --- 112,120 ---- gnps_init_logging(); ! verprintf("Reading configuration file\n"); gnps_read_config (); ! verprintf ("Initialising Guile.\n"); scm_boot_guile (argc, &argv, innermain, NULL); *************** *** 142,148 **** /* seemed like the best solution at the time. */ ! int i=0; ! struct { int code; --- 136,142 ---- /* seemed like the best solution at the time. */ ! static int i=0; ! static struct { int code; |