From: William King Date: Sat, 6 Jun 2015 05:28:59 +0000 (-0700) Subject: FS-7586 Silence the warning when the value is set to 1 in the configs X-Git-Tag: v1.6.2~543 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d43808fd6a3e874f0661e2b68cda184e979b4db7;p=thirdparty%2Ffreeswitch.git FS-7586 Silence the warning when the value is set to 1 in the configs --- diff --git a/src/mod/applications/mod_conference/mod_conference.c b/src/mod/applications/mod_conference/mod_conference.c index 30272d92d4..fb5837a037 100644 --- a/src/mod/applications/mod_conference/mod_conference.c +++ b/src/mod/applications/mod_conference/mod_conference.c @@ -12832,7 +12832,9 @@ static conference_obj_t *conference_new(char *name, conf_xml_cfg_t cfg, switch_c } else if (!strcasecmp(var, "auto-record") && !zstr(val)) { auto_record = val; } else if (!strcasecmp(var, "min-required-recording-participants") && !zstr(val)) { - if (!strcmp(val, "2")) { + if (!strcmp(val, "1")) { + min_recording_participants = 1; + } else if (!strcmp(val, "2")) { min_recording_participants = 2; } else { switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "min-required-recording-participants is invalid, leaving set to %d\n", min_recording_participants);