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

Freeswitch SVN anthm at freeswitch.org
Fri Sep 19 13:05:45 EDT 2008


Author: anthm
Date: Fri Sep 19 13:05:44 2008
New Revision: 9600

Modified:
   freeswitch/trunk/src/switch_console.c

Log:
fix MODAPP-145

Modified: freeswitch/trunk/src/switch_console.c
==============================================================================
--- freeswitch/trunk/src/switch_console.c	(original)
+++ freeswitch/trunk/src/switch_console.c	Fri Sep 19 13:05:44 2008
@@ -104,7 +104,7 @@
 	memcpy((uint8_t *) (handle->data) + handle->data_len, data, datalen);
 	handle->data_len += datalen;
 	handle->end = (uint8_t *) (handle->data) + handle->data_len;
-	handle->end = NULL;
+	*(uint8_t *)handle->end = '\0';
 
 	return SWITCH_STATUS_SUCCESS;
 }



More information about the Freeswitch-svn mailing list