[Freeswitch-svn] [commit] r11597 -	freeswitch/trunk/src/mod/endpoints/mod_sofia
    FreeSWITCH SVN 
    mikej at freeswitch.org
       
    Mon Feb  2 09:10:04 PST 2009
    
    
  
Author: mikej
Date: Mon Feb  2 11:10:04 2009
New Revision: 11597
Log:
fix windows build
Modified:
   freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c
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	Mon Feb  2 11:10:04 2009
@@ -508,7 +508,7 @@
 
 	case nua_i_notify:
 		
-		if (sip->sip_event && !strcmp(sip->sip_event->o_type, "dialog") && sip->sip_event->o_params && !strcmp(sip->sip_event->o_params[0], "sla")) {
+		if (sip && sip->sip_event && !strcmp(sip->sip_event->o_type, "dialog") && sip->sip_event->o_params && !strcmp(sip->sip_event->o_params[0], "sla")) {
 			check_destroy = 0;
 		}
 
    
    
More information about the Freeswitch-svn
mailing list