ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/src/log.c
(Generate patch)

Comparing ircd-hybrid-7.2/src/s_log.c (file contents):
Revision 582 by michael, Tue May 2 20:47:11 2006 UTC vs.
Revision 1001 by michael, Sat Aug 29 22:44:44 2009 UTC

# Line 112 | Line 112 | write_log(const char *message)
112    if (logFile == NULL)
113      return;
114  
115 #ifdef _WIN32
116  nbytes = snprintf(buf, sizeof(buf), "[%s] %s\r\n",
117                    smalldate(CurrentTime), message);
118 #else
115    nbytes = snprintf(buf, sizeof(buf), "[%s] %s\n",
116                      smalldate(CurrentTime), message);
117 < #endif
117 >
118    fbputs(buf, logFile, nbytes);
119   }
120    

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)