make SIGURG handler message more obvious (issue #4878)
authorKevin P. Fleming <kpfleming@digium.com>
Mon, 22 Aug 2005 23:06:14 +0000 (23:06 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Mon, 22 Aug 2005 23:06:14 +0000 (23:06 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6364 65c4cc65-6c06-0410-ace0-fbb531ad65f3

asterisk.c

index fd28291..dedf23e 100755 (executable)
@@ -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 */
        /* 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;
 }
        signal(num, urg_handler);
        return;
 }