doh
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@485 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
parent
4f7c97ef35
commit
8167c5b41c
|
@ -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)
|
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)) {
|
if (!zap_test_flag(zchan, ZAP_CHANNEL_READY)) {
|
||||||
return ZAP_FAIL;
|
return ZAP_FAIL;
|
||||||
|
|
Loading…
Reference in New Issue