From 03219436d5135786f9269e94a22f37e66ef53845 Mon Sep 17 00:00:00 2001 From: Chris Rienzo Date: Wed, 26 Aug 2015 10:52:33 -0400 Subject: [PATCH] FS-8054 #resolve #comment [mod_rayo] fix warning when building on Debian. --- src/mod/event_handlers/mod_rayo/mod_rayo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }