[Freeswitch-svn] [commit] r9247 - freeswitch/trunk/src

Freeswitch SVN anthm at freeswitch.org
Mon Aug 11 16:43:20 EDT 2008


Author: anthm
Date: Mon Aug 11 16:43:19 2008
New Revision: 9247

Modified:
   freeswitch/trunk/src/switch_channel.c
   freeswitch/trunk/src/switch_event.c

Log:
doh

Modified: freeswitch/trunk/src/switch_channel.c
==============================================================================
--- freeswitch/trunk/src/switch_channel.c	(original)
+++ freeswitch/trunk/src/switch_channel.c	Mon Aug 11 16:43:19 2008
@@ -1633,7 +1633,7 @@
 	nv = 0;
 	olen = strlen(in) + 1;
 	indup = strdup(in);
-	endof_indup = end_of_p(indup);
+	endof_indup = end_of_p(indup) + 1;
 
 	if ((data = malloc(olen))) {
 		memset(data, 0, olen);

Modified: freeswitch/trunk/src/switch_event.c
==============================================================================
--- freeswitch/trunk/src/switch_event.c	(original)
+++ freeswitch/trunk/src/switch_event.c	Mon Aug 11 16:43:19 2008
@@ -1219,7 +1219,7 @@
 	nv = 0;
 	olen = strlen(in) + 1;
 	indup = strdup(in);
-	endof_indup = end_of_p(indup);
+	endof_indup = end_of_p(indup) + 1;
 
 	if ((data = malloc(olen))) {
 		memset(data, 0, olen);



More information about the Freeswitch-svn mailing list