mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-08 19:08:14 +00:00
make SIGURG handler message more obvious (issue #4878)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6364 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -629,8 +629,8 @@ static void urg_handler(int num)
|
|||||||
/* Called by soft_hangup to interrupt the poll, read, or other
|
/* Called by soft_hangup to interrupt the poll, read, or other
|
||||||
system call. We don't actually need to do anything though. */
|
system call. We don't actually need to do anything though. */
|
||||||
/* Cannot EVER ast_log from within a signal handler */
|
/* Cannot EVER ast_log from within a signal handler */
|
||||||
if (option_debug)
|
if (option_debug > 2)
|
||||||
printf("Urgent handler\n");
|
printf("-- Asterisk Urgent handler\n");
|
||||||
signal(num, urg_handler);
|
signal(num, urg_handler);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user