can never be == 3 if it's == 2 :-) ... thanks Deeewayne

This commit is contained in:
Raymond Chandler 2011-08-18 13:23:04 -04:00
parent 2b74046f41
commit 94961e4ff6
1 changed files with 1 additions and 1 deletions

View File

@ -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")) {