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

Freeswitch SVN anthm at freeswitch.org
Wed Oct 18 20:26:00 EDT 2006


Author: anthm
Date: Wed Oct 18 20:26:00 2006
New Revision: 3087

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

Log:
fix

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c	Wed Oct 18 20:26:00 2006
@@ -957,7 +957,7 @@
 		}
 
 
-		if ((e_dest = strdup(tech_pvt->e_dest))) {
+		if (tech_pvt->e_dest && (e_dest = strdup(tech_pvt->e_dest))) {
 			char *user = e_dest, *host = NULL;
 			char hash_key[256] = "";
 



More information about the Freeswitch-svn mailing list