git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8860 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2008-06-27 18:38:21 +00:00
parent 587bbe6557
commit 0ca1319e1a
1 changed files with 2 additions and 1 deletions

View File

@ -1680,7 +1680,8 @@ void sofia_presence_set_chat_hash(private_object_t *tech_pvt, sip_t const *sip)
char buf[512];
su_home_t *home = NULL;
if (tech_pvt->hash_key || !sip || !sip->sip_from || !sip->sip_from->a_url || !sip->sip_from->a_url->url_user || !sip->sip_from->a_url->url_host) {
if (!tech_pvt || tech_pvt->hash_key || !sip || !sip->sip_from || !sip->sip_from->a_url ||
!sip->sip_from->a_url->url_user || !sip->sip_from->a_url->url_host) {
return;
}