From 25ebc8420e4dcfb5cdbb962394208264c31c2933 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Wed, 14 May 2008 15:48:51 +0000 Subject: [PATCH] tweak git-svn-id: http://svn.openzap.org/svn/openzap/trunk@475 a93c3328-9c30-0410-af19-c9cd2b2d52af --- libs/openzap/.update | 2 +- libs/openzap/src/zap_analog.c | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/libs/openzap/.update b/libs/openzap/.update index dd1ee6e7b5..aee0582972 100644 --- a/libs/openzap/.update +++ b/libs/openzap/.update @@ -1 +1 @@ -Fri May 9 10:23:02 EDT 2008 +Wed May 14 11:20:37 EDT 2008 diff --git a/libs/openzap/src/zap_analog.c b/libs/openzap/src/zap_analog.c index 2b053cff9b..64836c7436 100644 --- a/libs/openzap/src/zap_analog.c +++ b/libs/openzap/src/zap_analog.c @@ -336,7 +336,6 @@ static void *zap_analog_channel_run(zap_thread_t *me, void *obj) break; case ZAP_CHANNEL_STATE_DOWN: { - zap_channel_done(zchan); goto done; } break; @@ -412,7 +411,6 @@ static void *zap_analog_channel_run(zap_thread_t *me, void *obj) { sig.event_id = ZAP_SIGEVENT_STOP; analog_data->sig_cb(&sig); - zap_channel_done(zchan); goto done; } break; @@ -624,8 +622,6 @@ static void *zap_analog_channel_run(zap_thread_t *me, void *obj) done: - zap_channel_done(zchan); - if (zchan->type == ZAP_CHAN_TYPE_FXO && zap_test_flag(zchan, ZAP_CHANNEL_OFFHOOK)) { zap_channel_command(zchan, ZAP_COMMAND_ONHOOK, NULL);