mirror of
https://github.com/osmarks/ngircd.git
synced 2025-01-31 17:49:11 +00:00
Display total number of served connections on daemon shutdown
This commit is contained in:
parent
1338ade650
commit
615d09459e
@ -146,8 +146,8 @@ GLOBAL void
|
|||||||
Log_Exit( void )
|
Log_Exit( void )
|
||||||
{
|
{
|
||||||
/* Good Bye! */
|
/* Good Bye! */
|
||||||
if( NGIRCd_SignalRestart ) Log( LOG_NOTICE, "%s done (restarting).", PACKAGE_NAME );
|
Log(LOG_NOTICE, "%s done%s, served %lu connections.", PACKAGE_NAME,
|
||||||
else Log( LOG_NOTICE, "%s done.", PACKAGE_NAME );
|
NGIRCd_SignalRestart ? " (restarting)" : "", Conn_CountAccepted());
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
if( Error_File[0] )
|
if( Error_File[0] )
|
||||||
|
Loading…
Reference in New Issue
Block a user