[Freeswitch-svn] [commit] r7028 - freeswitch/trunk/src/mod/endpoints/mod_sofia

Freeswitch SVN anthm at freeswitch.org
Sat Dec 29 20:43:57 EST 2007


Author: anthm
Date: Sat Dec 29 20:43:57 2007
New Revision: 7028

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_presence.c

Log:
whoops

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_presence.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_presence.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_presence.c	Sat Dec 29 20:43:57 2007
@@ -1275,7 +1275,7 @@
 		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;
 			}



More information about the Freeswitch-svn mailing list