]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-8789 fix warning thats printed when it shouldn't be
authorBrian West <brian@freeswitch.org>
Tue, 2 Feb 2016 17:18:04 +0000 (11:18 -0600)
committerBrian West <brian@freeswitch.org>
Tue, 2 Feb 2016 17:18:09 +0000 (11:18 -0600)
src/mod/applications/mod_conference/mod_conference.c

index b62061967be9b1c53c72a071d659f142aa8528a1..1e9902a0488aba20087e0a4ae90d4166c4e83065 100644 (file)
@@ -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;
        }