From: Brian West Date: Tue, 2 Feb 2016 17:18:04 +0000 (-0600) Subject: FS-8789 fix warning thats printed when it shouldn't be X-Git-Tag: v1.6.7~2^2~112 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f936349f76e04a9a42eb8d7788161a5ed87d0b9;p=thirdparty%2Ffreeswitch.git FS-8789 fix warning thats printed when it shouldn't be --- diff --git a/src/mod/applications/mod_conference/mod_conference.c b/src/mod/applications/mod_conference/mod_conference.c index b62061967b..1e9902a048 100644 --- a/src/mod/applications/mod_conference/mod_conference.c +++ b/src/mod/applications/mod_conference/mod_conference.c @@ -3134,7 +3134,7 @@ conference_obj_t *conference_new(char *name, conference_xml_cfg_t cfg, switch_co if (video_canvas_count < 1) video_canvas_count = 1; - if (conference_utils_test_flag(conference, CFLAG_PERSONAL_CANVAS) && video_canvas_count) { + if (conference_utils_test_flag(conference, CFLAG_PERSONAL_CANVAS) && video_canvas_count > 1) { switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Personal Canvas and Multi-Canvas modes are not compatable. 1 canvas will be used.\n"); video_canvas_count = 1; }