From: Anthony Minessale Date: Thu, 30 Nov 2017 22:16:31 +0000 (-0600) Subject: FS-10821: [mod_conference] fix arg parser in file vol command in conference #resolve X-Git-Tag: v1.8.1~3^2~177 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=683f59f38d26336b7e85baab3791511a6a29bfae;p=thirdparty%2Ffreeswitch.git FS-10821: [mod_conference] fix arg parser in file vol command in conference #resolve --- diff --git a/src/mod/applications/mod_conference/conference_api.c b/src/mod/applications/mod_conference/conference_api.c index d0d8b5ebc6..74ad5fdb32 100644 --- a/src/mod/applications/mod_conference/conference_api.c +++ b/src/mod/applications/mod_conference/conference_api.c @@ -3551,7 +3551,7 @@ switch_status_t conference_api_sub_file_vol(conference_obj_t *conference, switch int vol = 0; int ok = 0; - if (argc < 2) { + if (argc < 3) { stream->write_function(stream, "-ERR missing args\n"); return SWITCH_STATUS_GENERR; }