提交 91726e3a authored 作者: Mathieu Rene's avatar Mathieu Rene

mod_limit: fix usage and argument list length

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14402 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 16e4f259
......@@ -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;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论