Commit Diff
Diff:
c891b5f250c71c1b8f94a002c13db6035ad28305
999c11ad49ea1e9c2615e4668f23aae483e549dc
Commit:
999c11ad49ea1e9c2615e4668f23aae483e549dc
Tree:
7695468f48efdabd497d57415fd43748e0574ff9
Author:
Alexander Barton <alex@barton.de>
Committer:
Alexander Barton <alex@barton.de>
Date:
Sun Jan 27 22:22:00 2013 UTC
Message:
Exit message: use singular & plural :-)
blob - 51bd2a5dc64d4989921e2f30445bab72c94cb997
blob + 375f4bc1f6ab605ecbfe659367c82812b981a1a0
--- src/ngircd/log.c
+++ src/ngircd/log.c
@@ -109,8 +109,9 @@ Log_ReInit(void)
GLOBAL void
Log_Exit( void )
{
- Log(LOG_NOTICE, "%s done%s, served %lu connections.", PACKAGE_NAME,
- NGIRCd_SignalRestart ? " (restarting)" : "", Conn_CountAccepted());
+ Log(LOG_NOTICE, "%s done%s, served %lu connection%s.", PACKAGE_NAME,
+ NGIRCd_SignalRestart ? " (restarting)" : "", Conn_CountAccepted(),
+ Conn_CountAccepted() == 1 ? "" : "s");
#ifdef SYSLOG
closelog();
#endif
IRCNow