summaryrefslogtreecommitdiff
path: root/asterisk.c
diff options
context:
space:
mode:
Diffstat (limited to 'asterisk.c')
-rwxr-xr-xasterisk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/asterisk.c b/asterisk.c
index fd28291ec..dedf23e69 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;
}