From: Raymond Chandler Date: Thu, 18 Aug 2011 17:23:04 +0000 (-0400) Subject: can never be == 3 if it's == 2 :-) ... thanks Deeewayne X-Git-Tag: v1.2-rc1~51^2~265 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94961e4ff6d39c0181ec41efdad0d09eea987be9;p=thirdparty%2Ffreeswitch.git can never be == 3 if it's == 2 :-) ... thanks Deeewayne --- diff --git a/src/mod/applications/mod_easyroute/mod_easyroute.c b/src/mod/applications/mod_easyroute/mod_easyroute.c index 75b4712f2d..ad1d75c303 100644 --- a/src/mod/applications/mod_easyroute/mod_easyroute.c +++ b/src/mod/applications/mod_easyroute/mod_easyroute.c @@ -303,7 +303,7 @@ SWITCH_STANDARD_APP(easyroute_app_function) if ((argc = switch_separate_string(mydata, ' ', argv, (sizeof(argv) / sizeof(argv[0]))))) { destnum = argv[0]; - if (argc == 2) { + if (argc >= 2) { if (!strcasecmp(argv[1], "noat")) { noat = 1; } else if (!strcasecmp(argv[1], "separator")) {