From: Anthony Minessale Date: Sat, 22 Nov 2008 16:41:07 +0000 (+0000) Subject: update X-Git-Tag: v1.0.2~417 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee2410980265c47f82b52a1e9cda7e3f66c63623;p=thirdparty%2Ffreeswitch.git update git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10520 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 8451c6e190..32ce348b6b 100644 --- a/src/mod/endpoints/mod_sofia/sofia_presence.c +++ b/src/mod/endpoints/mod_sofia/sofia_presence.c @@ -337,7 +337,7 @@ static void actual_sofia_presence_event_handler(switch_event_t *event) status = NULL; } - if (switch_stristr("CS_", status)) { + if (status && switch_stristr("CS_", status)) { status = NULL; }