]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
tweak to mod_limit for the db_function used in the dialplan
authorBrian West <brian@freeswitch.org>
Tue, 28 Oct 2008 02:50:18 +0000 (02:50 +0000)
committerBrian West <brian@freeswitch.org>
Tue, 28 Oct 2008 02:50:18 +0000 (02:50 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10175 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_limit/mod_limit.c

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