Difference for common/logger.c from version 1.3 to 1.4


version 1.3 version 1.4
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_loger_c =   * static char *rcsid_loger_c =
  *   "$Id: logger.c,v 1.3 2000/05/21 21:41:45 jec Exp $ ";   *   "$Id: logger.c,v 1.4 2001/04/06 00:44:19 michtoen Exp $ ";
  */   */
   
 /*  /*
Line 53
 
Line 53
   if (logLevel <= settings.debug)    if (logLevel <= settings.debug)
   {    {
     vsprintf(buf, format, ap);      vsprintf(buf, format, ap);
   #ifdef WIN32
    fputs(buf, logfile);    // wrote to file or stdout
   #ifdef DEBUG // if we have a debug version, we want see ALL output
    fflush(logfile);    // so flush this!
   #endif
    if(logfile != stderr)   // if was it a logfile wrote it to screen too
    fputs(buf, stderr);
   #else
     fputs(buf, logfile);      fputs(buf, logfile);
   #endif
   }    }
   if (!exiting && !trying_emergency_save &&    if (!exiting && !trying_emergency_save &&
       logLevel == llevError && ++nroferrors > MAX_ERRORS) {        logLevel == llevError && ++nroferrors > MAX_ERRORS) {


Legend:
line(s) removed in v.1.3 
line(s) changed
 line(s) added in v.1.4

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