]> arthur.barton.de Git - ngircd-alex.git/commitdiff
Exit message: use singular & plural :-)
authorAlexander Barton <alex@barton.de>
Sun, 27 Jan 2013 22:22:00 +0000 (23:22 +0100)
committerAlexander Barton <alex@barton.de>
Sun, 27 Jan 2013 22:22:00 +0000 (23:22 +0100)
src/ngircd/log.c

index 51bd2a5dc64d4989921e2f30445bab72c94cb997..375f4bc1f6ab605ecbfe659367c82812b981a1a0 100644 (file)
@@ -109,8 +109,9 @@ Log_ReInit(void)
 GLOBAL void
 Log_Exit( 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
 #ifdef SYSLOG
        closelog();
 #endif