Revision
14402
Author
mrene
Date
2009-07-28 15:31:36 -0500 (Tue, 28 Jul 2009)

Log Message

mod_limit: fix usage and argument list length

Modified Paths

Diff

Modified: freeswitch/trunk/src/mod/applications/mod_limit/mod_limit.c (14401 => 14402)


--- freeswitch/trunk/src/mod/applications/mod_limit/mod_limit.c	2009-07-28 20:19:01 UTC (rev 14401)
+++ freeswitch/trunk/src/mod/applications/mod_limit/mod_limit.c	2009-07-28 20:31:36 UTC (rev 14402)
@@ -1046,12 +1046,12 @@
 }
 
 
-#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;