Display total number of served connections on daemon shutdown

This commit is contained in:
Alexander Barton 2010-04-23 23:29:22 +02:00
parent 1338ade650
commit 615d09459e
1 changed files with 2 additions and 2 deletions

View File

@ -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] )