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;