diff options
Diffstat (limited to 'channels/chan_vofr.c')
-rwxr-xr-x | channels/chan_vofr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_vofr.c b/channels/chan_vofr.c index 3d677bd3d..444701fd7 100755 --- a/channels/chan_vofr.c +++ b/channels/chan_vofr.c @@ -1008,7 +1008,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) { /* Wake up the thread */ pthread_kill(monitor_thread, SIGURG); } else { |