[Freeswitch-svn] [commit] r13544 - freeswitch/trunk/src/mod/endpoints/mod_sofia

FreeSWITCH SVN mrene at freeswitch.org
Mon Jun 1 17:56:14 PDT 2009


Author: mrene
Date: Mon Jun  1 19:56:14 2009
New Revision: 13544

Log:
mod_sofia: its cuter that way

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c	Mon Jun  1 19:56:14 2009
@@ -3976,15 +3976,15 @@
 
 	/* Clean out the host part of any suffix */
 	if ((p = strchr(h, ':'))) {
-		*p = 0;
+		*p = '\0';
 	}
 	
 	if ((p = strchr(h, ';'))) {
-		*p = 0;
+		*p = '\0';
 	}
 	
 	if ((p = strchr(h, ' '))) {
-		*p = 0;
+		*p = '\0';
 	}
 
 	*user = u;



More information about the Freeswitch-svn mailing list