commit 999c11ad49ea1e9c2615e4668f23aae483e549dc from: Alexander Barton date: Sun Jan 27 22:22:00 2013 UTC Exit message: use singular & plural :-) commit - c891b5f250c71c1b8f94a002c13db6035ad28305 commit + 999c11ad49ea1e9c2615e4668f23aae483e549dc 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