From: Alexander Barton Date: Sun, 27 Jan 2013 22:22:00 +0000 (+0100) Subject: Exit message: use singular & plural :-) X-Git-Tag: rel-21-rc1~147 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=commitdiff_plain;h=999c11ad49ea1e9c2615e4668f23aae483e549dc Exit message: use singular & plural :-) --- diff --git a/src/ngircd/log.c b/src/ngircd/log.c index 51bd2a5d..375f4bc1 100644 --- a/src/ngircd/log.c +++ b/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