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

Freeswitch SVN anthm at freeswitch.org
Thu May 1 16:22:54 EDT 2008


Author: anthm
Date: Thu May  1 16:22:53 2008
New Revision: 8240

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

Log:
update

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c	Thu May  1 16:22:53 2008
@@ -1517,7 +1517,7 @@
 {
 	sofia_gateway_t *gateway = NULL;
 
-	if (sofia_private->gateway_name) {
+	if (sofia_private && !switch_strlen_zero(sofia_private->gateway_name)) {
 		gateway = sofia_reg_find_gateway(sofia_private->gateway_name);
 	}
 



More information about the Freeswitch-svn mailing list