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

Comparing ircd-hybrid/trunk/src/ircd.c (file contents):
Revision 4735 by michael, Sun Oct 12 11:58:19 2014 UTC vs.
Revision 4736 by michael, Sun Oct 12 12:02:00 2014 UTC

# Line 321 | Line 321 | write_pidfile(const char *filename)
321  
322      snprintf(buff, sizeof(buff), "%u\n", pid);
323  
324 <    if ((fputs(buff, fb) == -1))
324 >    if (fputs(buff, fb) == -1)
325        ilog(LOG_TYPE_IRCD, "Error writing %u to pid file %s (%s)",
326             pid, filename, strerror(errno));
327  

Diff Legend

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