--- deliantra/server/common/logger.C 2006/08/27 16:15:11 1.2 +++ deliantra/server/common/logger.C 2006/08/29 08:01:35 1.3 @@ -1,6 +1,6 @@ /* * static char *rcsid_loger_c = - * "$Id: logger.C,v 1.2 2006/08/27 16:15:11 root Exp $ "; + * "$Id: logger.C,v 1.3 2006/08/29 08:01:35 root Exp $ "; */ /* @@ -43,9 +43,9 @@ void LOG (LogLevel logLevel, const char *format, ...) { char buf[20480]; /* This needs to be really really big - larger - * than any other buffer, since that buffer may - * need to be put in this one. - */ + * than any other buffer, since that buffer may + * need to be put in this one. + */ char tbuf[20480]; time_t curtime = time (NULL); @@ -62,12 +62,12 @@ vsnprintf(buf, sizeof (buf), format, ap); strncat(tbuf, buf, 20460); #ifdef WIN32 /* ---win32 change log handling for win32 */ - fputs(tbuf, logfile); /* wrote to file or stdout */ + fputs(tbuf, logfile); /* wrote to file or stdout */ #ifdef DEBUG /* if we have a debug version, we want see ALL output */ - fflush(logfile); /* so flush this! */ + fflush(logfile); /* so flush this! */ #endif - if(logfile != stderr) /* if was it a logfile wrote it to screen too */ - fputs(tbuf, stderr); + if(logfile != stderr) /* if was it a logfile wrote it to screen too */ + fputs(tbuf, stderr); #else fputs(tbuf, logfile); #endif