]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
doh
authorAnthony Minessale <anthony.minessale@gmail.com>
Mon, 26 May 2008 18:58:28 +0000 (18:58 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Mon, 26 May 2008 18:58:28 +0000 (18:58 +0000)
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@485 a93c3328-9c30-0410-af19-c9cd2b2d52af

libs/openzap/src/zap_io.c

index 9fa317c0e41254b31adf5fd6cbb14f87f73b55fd..2f6d7afd5e44f4382768621c7e93ab69b0faf332 100644 (file)
@@ -669,7 +669,7 @@ static int zap_parse_state_map(zap_channel_t *zchan, zap_channel_state_t state,
 
 zap_status_t zap_channel_set_state(zap_channel_t *zchan, zap_channel_state_t state, int lock)
 {
-       int ok = 0;
+       int ok = 1;
        
        if (!zap_test_flag(zchan, ZAP_CHANNEL_READY)) {
                return ZAP_FAIL;