Difference for common/init.c from version 1.6 to 1.7


version 1.6 version 1.7
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_init_c =   * static char *rcsid_init_c =
  *   "$Id: init.c,v 1.6 2000/12/04 00:40:03 cvs Exp $";   *   "$Id: init.c,v 1.7 2001/03/05 02:05:18 mwedel Exp $";
  */   */
   
 /*  /*
Line 35
 
Line 35
  * correspond to.   * correspond to.
  */   */
 struct Settings settings = {  struct Settings settings = {
 "logfile", /* Logfile */  "",         /* Logfile */
 CSPORT, /* Client/server port */  CSPORT, /* Client/server port */
   
 /* Debug level */  /* Debug level */
Line 121
 
Line 121
  */   */
   
 void init_globals() {  void init_globals() {
       if (settings.logfilename[0] == 0) {
     logfile = stderr;      logfile = stderr;
       }
       else if ((logfile=fopen(settings.logfilename, "w"))==NULL) {
    fprintf(stderr,"Unable to open %s as the logfile - will use stderr instead\n",
    settings.logfilename);
    logfile = stderr;
       }
     exiting = 0;      exiting = 0;
     first_player=NULL;      first_player=NULL;
     first_friendly_object=NULL;      first_friendly_object=NULL;


Legend:
line(s) removed in v.1.6 
line(s) changed
 line(s) added in v.1.7

File made using version 1.98 of cvs2html by leaf at 2011-07-21 17:07