[Freeswitch-svn] [commit] r6081 - freeswitch/trunk/src/mod/applications/mod_commands

Freeswitch SVN mikej at freeswitch.org
Mon Oct 29 02:42:14 EDT 2007


Author: mikej
Date: Mon Oct 29 02:42:13 2007
New Revision: 6081

Modified:
   freeswitch/trunk/src/mod/applications/mod_commands/mod_commands.c

Log:
fix for MODAPP-41

Modified: freeswitch/trunk/src/mod/applications/mod_commands/mod_commands.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_commands/mod_commands.c	(original)
+++ freeswitch/trunk/src/mod/applications/mod_commands/mod_commands.c	Mon Oct 29 02:42:13 2007
@@ -28,6 +28,7 @@
  * Johny Kadarisman <jkr888 at gmail.com>
  * Paul Tinsley <jackhammer at gmail.com>
  * Marcel Barbulescu <marcelbarbulescu at gmail.com>
+ * Bret McDanel <trixter AT 0xdecafbad.com>
  *
  * 
  * mod_commands.c -- Misc. Command Module
@@ -265,7 +266,7 @@
 
 	if (!switch_strlen_zero(cmd) && (mycmd = strdup(cmd))) {
 		argc = switch_separate_string(mycmd, ' ', argv, (sizeof(argv) / sizeof(argv[0])));
-		if (argc >= 2 && argc <= 4) {
+		if (argc >= 2 && argc <= 5) {
 			char *uuid = argv[0];
 			char *dest = argv[1];
 			char *dp = argv[2];



More information about the Freeswitch-svn mailing list