]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-10821: [mod_conference] fix arg parser in file vol command in conference #resolve
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 30 Nov 2017 22:16:31 +0000 (16:16 -0600)
committerMuteesa Fred <muteesafred@hotmail.com>
Tue, 24 Jul 2018 07:21:37 +0000 (07:21 +0000)
src/mod/applications/mod_conference/conference_api.c

index d0d8b5ebc6660d1a6adfd19cdf534b1b0d7f3088..74ad5fdb32732f57a55feadc0fda834b7ea747fb 100644 (file)
@@ -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;
                }