/[svn]/ircd-hybrid-7.2/src/s_log.c
ViewVC logotype

Diff of /ircd-hybrid-7.2/src/s_log.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1000 by michael, Tue May 2 20:47:11 2006 UTC revision 1001 by michael, Sat Aug 29 22:44:44 2009 UTC
# Line 112  write_log(const char *message) Line 112  write_log(const char *message)
112    if (logFile == NULL)    if (logFile == NULL)
113      return;      return;
114    
 #ifdef _WIN32  
   nbytes = snprintf(buf, sizeof(buf), "[%s] %s\r\n",  
                     smalldate(CurrentTime), message);  
 #else  
115    nbytes = snprintf(buf, sizeof(buf), "[%s] %s\n",    nbytes = snprintf(buf, sizeof(buf), "[%s] %s\n",
116                      smalldate(CurrentTime), message);                      smalldate(CurrentTime), message);
117  #endif  
118    fbputs(buf, logFile, nbytes);    fbputs(buf, logFile, nbytes);
119  }  }
120        

Legend:
Removed from v.1000  
changed lines
  Added in v.1001

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28