X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fngircd%2Fsighandlers.c;h=efb41bcd8465147ff68fff0f70afcac1452cdba9;hb=bcefdef1eaed14d3156b7fb5b9ad6d3b7078efcf;hp=427789c3fbbaf291aa026753aa4d86bcc76c1f66;hpb=e2ba7e08b4a4ca73a74c10e7189b46f6d8dcfc75;p=ngircd-alex.git diff --git a/src/ngircd/sighandlers.c b/src/ngircd/sighandlers.c index 427789c3..efb41bcd 100644 --- a/src/ngircd/sighandlers.c +++ b/src/ngircd/sighandlers.c @@ -218,8 +218,11 @@ Signal_Handler_BH(int Signal) break; #ifdef DEBUG case SIGUSR2: - if (NGIRCd_Debug) + if (NGIRCd_Debug) { + Log(LOG_INFO|LOG_snotice, + "Got SIGUSR2, dumping internal state ..."); Dump_State(); + } break; default: Log(LOG_DEBUG, "Got signal %d! Ignored.", Signal);