mod_limit: fix usage and argument list length

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14402 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Mathieu Rene 2009-07-28 20:31:36 +00:00
parent 16e4f259c2
commit 91726e3a76
1 changed files with 2 additions and 2 deletions

View File

@ -1046,12 +1046,12 @@ SWITCH_STANDARD_APP(limit_hash_function)
}
#define LIMITHASHEXECUTE_USAGE "<realm> <id> [<max>[/interval]] [number [dialplan [context]]]"
#define LIMITHASHEXECUTE_USAGE "<realm> <id> [<max>[/interval]] [application] [application arguments]"
#define LIMITHASHEXECUTE_DESC "limit access to a resource. the specified application will only be executed if the resource is available"
SWITCH_STANDARD_APP(limit_hash_execute_function)
{
int argc = 0;
char *argv[6] = { 0 };
char *argv[5] = { 0 };
char *mydata = NULL;
char *realm = NULL;
char *id = NULL;