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:
parent
16e4f259c2
commit
91726e3a76
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue