From: Chris Rienzo Date: Wed, 26 Aug 2015 14:52:33 +0000 (-0400) Subject: FS-8054 #resolve #comment [mod_rayo] fix warning when building on Debian. X-Git-Tag: v1.4.21~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c93ae16de2ed12839ed32fc36f3fe3adea118253;p=thirdparty%2Ffreeswitch.git FS-8054 #resolve #comment [mod_rayo] fix warning when building on Debian. --- diff --git a/src/mod/event_handlers/mod_rayo/mod_rayo.c b/src/mod/event_handlers/mod_rayo/mod_rayo.c index ef6b0b7a65..ca63beeb34 100644 --- a/src/mod/event_handlers/mod_rayo/mod_rayo.c +++ b/src/mod/event_handlers/mod_rayo/mod_rayo.c @@ -3818,7 +3818,7 @@ static switch_status_t rayo_call_on_read_frame(switch_core_session_t *session, s */ static int should_offer_to_client(struct rayo_client *rclient, char **offer_filters, int offer_filter_count) { - if (!rclient->availability == PS_ONLINE) { + if (rclient->availability != PS_ONLINE) { return 0; }