fixed warnings on src/ircd.c compilation

This commit is contained in:
Valery V Yatsko 2008-08-17 09:33:05 +04:00
parent 40b8b28e1b
commit 2d9a60fe7e
1 changed files with 2 additions and 2 deletions

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);