fixed warnings on src/ircd.c compilation

This commit is contained in:
Valery V Yatsko 2008-08-17 09:33:05 +04:00
parent bbe588880f
commit b1daa815bd

View file

@ -453,7 +453,7 @@ ircd_log_cb(const char *str)
static void static void
ircd_restart_cb(const char *str) ircd_restart_cb(const char *str)
{ {
inotice(L_MAIN, "libratbox has called the restart callback: %s", str); inotice("libratbox has called the restart callback: %s", str);
restart(str); restart(str);
} }
@ -474,7 +474,7 @@ ircd_die_cb(const char *str)
inotice("libratbox has called the die callback..aborting: %s", str); inotice("libratbox has called the die callback..aborting: %s", str);
} }
else else
inotice(L_MAIN, "libratbox has called the die callback..aborting"); inotice("libratbox has called the die callback..aborting");
unlink(pidFileName); unlink(pidFileName);
exit(EXIT_FAILURE); exit(EXIT_FAILURE);