diff options
author | James Golovich <james@gnuinter.net> | 2004-03-15 09:14:16 +0000 |
---|---|---|
committer | James Golovich <james@gnuinter.net> | 2004-03-15 09:14:16 +0000 |
commit | 9223055df15f5366060e793d66da8ca3de8c0ba5 (patch) | |
tree | d656231155fa5ab484310bf72e1e9650cd08b124 /channels/chan_zap.c | |
parent | 4b0d26c93d7effbe0098c5f7db5e18a00a0de12b (diff) |
Fixup some pthread_t checking in channels
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2438 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_zap.c')
-rwxr-xr-x | channels/chan_zap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c index 930a870fc..48675db0a 100755 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -5182,7 +5182,7 @@ static int restart_monitor(void) ast_log(LOG_WARNING, "Cannot kill myself\n"); return -1; } - if (monitor_thread) { + if (monitor_thread != AST_PTHREADT_NULL) { /* Just signal it to be sure it wakes up */ #if 0 pthread_cancel(monitor_thread); |