diff options
author | dhubbard <dhubbard@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-04-24 18:20:31 +0000 |
---|---|---|
committer | dhubbard <dhubbard@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-04-24 18:20:31 +0000 |
commit | c35b8feb796ede6c15a88f288c4207c4f12eae8f (patch) | |
tree | a3e9f9b0bf8b58143c47eb4c1e54c9e70935da51 /channels/chan_modem.c | |
parent | 4aeddcfc8ca4ce6435f43e059e6cdfe50c7bcd83 (diff) |
removed #if 0 block from chan_phone, chan_zap, and chan_modem restart_monitor()
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@61777 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_modem.c')
-rw-r--r-- | channels/chan_modem.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/channels/chan_modem.c b/channels/chan_modem.c index a77519324..d95d175bb 100644 --- a/channels/chan_modem.c +++ b/channels/chan_modem.c @@ -717,10 +717,8 @@ static int restart_monitor() return -1; } if (monitor_thread != AST_PTHREADT_NULL) { + /* Wake up the thread */ pthread_kill(monitor_thread, SIGURG); -#if 0 - pthread_join(monitor_thread, NULL); -#endif } else { /* Start a new monitor */ if (ast_pthread_create(&monitor_thread, NULL, do_monitor, NULL) < 0) { |