From: Michael Jerris Date: Tue, 24 Feb 2009 16:37:25 +0000 (+0000) Subject: tweak X-Git-Tag: v1.0.6~38^2~208 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d51fdbf5ad42664206d607b83a60cbea6f3599d;p=thirdparty%2Ffreeswitch.git tweak git-svn-id: http://svn.openzap.org/svn/openzap/trunk@668 a93c3328-9c30-0410-af19-c9cd2b2d52af --- diff --git a/libs/openzap/src/zap_io.c b/libs/openzap/src/zap_io.c index 8fd60a85e8..daaf1061cb 100644 --- a/libs/openzap/src/zap_io.c +++ b/libs/openzap/src/zap_io.c @@ -1029,7 +1029,7 @@ zap_status_t zap_channel_open_chan(zap_channel_t *zchan) if (zap_test_flag(zchan, ZAP_CHANNEL_READY)) { status = zchan->span->zio->open(zchan); 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 { snprintf(zchan->last_error, sizeof(zchan->last_error), "%s", "Channel is not ready");