From: Anthony Minessale Date: Sun, 30 Dec 2007 01:43:57 +0000 (+0000) Subject: whoops X-Git-Tag: v1.0-rc1~869 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5fad7f3626e9068fee98876a90a350216f480ff;p=thirdparty%2Ffreeswitch.git whoops git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7028 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/endpoints/mod_sofia/sofia_presence.c b/src/mod/endpoints/mod_sofia/sofia_presence.c index 54f950833b..69e2f2eb08 100644 --- a/src/mod/endpoints/mod_sofia/sofia_presence.c +++ b/src/mod/endpoints/mod_sofia/sofia_presence.c @@ -1275,7 +1275,7 @@ void sofia_presence_handle_sip_i_message(int status, const char *subject = "n/a"; char *msg = NULL; - if (sip->sip_content_type && !switch_strlen_zero(sip->sip_content_type->c_subtype)) { + if (sip->sip_content_type && sip->sip_content_type->c_subtype) { if (strstr(sip->sip_content_type->c_subtype, "composing")) { return; }