]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
whoops
authorAnthony Minessale <anthony.minessale@gmail.com>
Sun, 30 Dec 2007 01:43:57 +0000 (01:43 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Sun, 30 Dec 2007 01:43:57 +0000 (01:43 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7028 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/sofia_presence.c

index 54f950833b58a9604d075aee09ccb00b24462181..69e2f2eb0892c44f4d94136680e60303367b2b7a 100644 (file)
@@ -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;
                        }