error checking

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13136 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2009-04-23 20:05:45 +00:00
parent 01511a3592
commit 1f6f250419
1 changed files with 1 additions and 1 deletions

View File

@ -3998,7 +3998,7 @@ void sofia_handle_sip_i_info(nua_t *nua, sofia_profile_t *profile, nua_handle_t
if (switch_event_create(&event, SWITCH_EVENT_RECV_INFO) == SWITCH_STATUS_SUCCESS) {
if (sip->sip_content_type) {
if (sip && sip->sip_content_type) {
switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "SIP-Content-Type", sip->sip_content_type->c_type);
}