commit 615d09459ee7c485be38c6957447d73838249054 from: Alexander Barton date: Fri Apr 23 21:29:22 2010 UTC Display total number of served connections on daemon shutdown commit - 1338ade65032e5aea4891694a61d8ee3d1c795e1 commit + 615d09459ee7c485be38c6957447d73838249054 blob - 5a81b5b3e03083451d65150b033e04ce4d873151 blob + ff811630b95dd7f1d5526c8cf20775657d3f2ef2 --- src/ngircd/log.c +++ src/ngircd/log.c @@ -146,8 +146,8 @@ GLOBAL void Log_Exit( void ) { /* Good Bye! */ - if( NGIRCd_SignalRestart ) Log( LOG_NOTICE, "%s done (restarting).", PACKAGE_NAME ); - else Log( LOG_NOTICE, "%s done.", PACKAGE_NAME ); + Log(LOG_NOTICE, "%s done%s, served %lu connections.", PACKAGE_NAME, + NGIRCd_SignalRestart ? " (restarting)" : "", Conn_CountAccepted()); #ifdef DEBUG if( Error_File[0] )