From 683f59f38d26336b7e85baab3791511a6a29bfae Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Thu, 30 Nov 2017 16:16:31 -0600 Subject: [PATCH] FS-10821: [mod_conference] fix arg parser in file vol command in conference #resolve --- src/mod/applications/mod_conference/conference_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }