From f5fad7f3626e9068fee98876a90a350216f480ff Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Sun, 30 Dec 2007 01:43:57 +0000 Subject: [PATCH] whoops git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7028 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_sofia/sofia_presence.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }