mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-09 09:17:34 +00:00
tweak
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@668 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
parent
29da776fd0
commit
5d51fdbf5a
@ -1029,7 +1029,7 @@ zap_status_t zap_channel_open_chan(zap_channel_t *zchan)
|
|||||||
if (zap_test_flag(zchan, ZAP_CHANNEL_READY)) {
|
if (zap_test_flag(zchan, ZAP_CHANNEL_READY)) {
|
||||||
status = zchan->span->zio->open(zchan);
|
status = zchan->span->zio->open(zchan);
|
||||||
if (status == ZAP_SUCCESS) {
|
if (status == ZAP_SUCCESS) {
|
||||||
zap_set_flag(zchan, ZAP_CHANNEL_OPEN+ZAP_CHANNEL_INUSE);
|
zap_set_flag(zchan, ZAP_CHANNEL_OPEN | ZAP_CHANNEL_INUSE);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
snprintf(zchan->last_error, sizeof(zchan->last_error), "%s", "Channel is not ready");
|
snprintf(zchan->last_error, sizeof(zchan->last_error), "%s", "Channel is not ready");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user