/[svn]/ircd-hybrid/branches/8.2.x/src/ircd.c
ViewVC logotype

Diff of /ircd-hybrid/branches/8.2.x/src/ircd.c

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

revision 5564 by michael, Thu Feb 12 14:13:48 2015 UTC revision 5565 by michael, Sat Feb 14 20:15:28 2015 UTC
# Line 312  write_pidfile(const char *filename) Line 312  write_pidfile(const char *filename)
312      snprintf(buff, sizeof(buff), "%u\n", pid);      snprintf(buff, sizeof(buff), "%u\n", pid);
313    
314      if (fputs(buff, fb) == -1)      if (fputs(buff, fb) == -1)
315        ilog(LOG_TYPE_IRCD, "Error writing %u to pid file %s (%s)",        ilog(LOG_TYPE_IRCD, "Error writing %u to pid file %s: %s",
316             pid, filename, strerror(errno));             pid, filename, strerror(errno));
317    
318      fclose(fb);      fclose(fb);
319    }    }
320    else    else
321      ilog(LOG_TYPE_IRCD, "Error opening pid file %s (%s)",      ilog(LOG_TYPE_IRCD, "Error opening pid file %s: %s",
322           filename, strerror(errno));           filename, strerror(errno));
323  }  }
324    

Legend:
Removed from v.5564  
changed lines
  Added in v.5565

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