fix windows build

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11597 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2009-02-02 17:10:04 +00:00
parent 6988faa448
commit 332dcea326

View File

@ -508,7 +508,7 @@ void sofia_event_callback(nua_event_t event,
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;
}