tweak to mod_limit for the db_function used in the dialplan

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10175 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West 2008-10-28 02:50:18 +00:00
parent 050dcab0ad
commit 9deca9679b

View File

@ -375,7 +375,7 @@ SWITCH_STANDARD_APP(db_function)
argc = switch_separate_string(mydata, '/', argv, (sizeof(argv) / sizeof(argv[0]))); argc = switch_separate_string(mydata, '/', argv, (sizeof(argv) / sizeof(argv[0])));
} }
if (argc < 4 || !argv[0]) { if (argc < 3 || !argv[0]) {
goto error; goto error;
} }