From 6755f0b642409ea2af5c2176f40aa0cd5f46f71e Mon Sep 17 00:00:00 2001
From: "Kevin P. Fleming" <kpfleming@digium.com>
Date: Mon, 22 Aug 2005 23:06:14 +0000
Subject: [PATCH] make SIGURG handler message more obvious (issue #4878)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6364 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 asterisk.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/asterisk.c b/asterisk.c
index fd28291ec7..dedf23e690 100755
--- a/asterisk.c
+++ b/asterisk.c
@@ -629,8 +629,8 @@ static void urg_handler(int num)
 	/* Called by soft_hangup to interrupt the poll, read, or other
 	   system call.  We don't actually need to do anything though.  */
 	/* Cannot EVER ast_log from within a signal handler */
-	if (option_debug) 
-		printf("Urgent handler\n");
+	if (option_debug > 2) 
+		printf("-- Asterisk Urgent handler\n");
 	signal(num, urg_handler);
 	return;
 }
-- 
GitLab