Difference for common/init.c from version 1.33 to 1.34


version 1.33 version 1.34
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_init_c =   * static char *rcsid_init_c =
  *   "$Id: init.c,v 1.33 2003/09/13 05:01:27 mwedel Exp $";   *   "$Id: init.c,v 1.34 2004/02/16 20:03:10 tanner Exp $";
  */   */
   
 /*  /*
Line 35
 
Line 35
  * correspond to.   * correspond to.
  */   */
 struct Settings settings = {  struct Settings settings = {
 "",         /* Logfile */  "/var/log/crossfire/logfile",   /* Logfile */
 CSPORT, /* Client/server port */  CSPORT, /* Client/server port */
   
 /* Debug level */  /* Debug level */
Line 217
 
Line 217
     if (settings.logfilename[0] == 0) {      if (settings.logfilename[0] == 0) {
  logfile = stderr;   logfile = stderr;
     }      }
     else if ((logfile=fopen(settings.logfilename, "w"))==NULL) {      else if ((logfile=fopen(settings.logfilename, "a"))==NULL) {
  fprintf(stderr,"Unable to open %s as the logfile - will use stderr instead\n",   fprintf(stderr,"Unable to open %s as the logfile - will use stderr instead\n",
  settings.logfilename);   settings.logfilename);
  logfile = stderr;   logfile = stderr;


Legend:
line(s) removed in v.1.33 
line(s) changed
 line(s) added in v.1.34

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