From ee2410980265c47f82b52a1e9cda7e3f66c63623 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Sat, 22 Nov 2008 16:41:07 +0000 Subject: [PATCH] update git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10520 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 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; }