git-svn-id: http://svn.openzap.org/svn/openzap/trunk@485 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
Anthony Minessale 2008-05-26 18:58:28 +00:00
parent 4f7c97ef35
commit 8167c5b41c
1 changed files with 1 additions and 1 deletions

View 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;