about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2012-06-08 22:08:52 +0200
committerAlexander Barton <alex@barton.de>2012-06-08 22:08:52 +0200
commit4a90959cb563e7c6ca57d32779074b448982c94f (patch)
treeb5872499eed62747a98a8efe98a29558ac809132 /src
parent9b1cf420f1e8768166e823891d7897590bdec638 (diff)
downloadngircd-4a90959cb563e7c6ca57d32779074b448982c94f.tar.gz
ngircd-4a90959cb563e7c6ca57d32779074b448982c94f.zip
Log a debug message when SIGUSR2 is handled
Diffstat (limited to 'src')
-rw-r--r--src/ngircd/sighandlers.c5
1 files changed, 4 insertions, 1 deletions
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);