]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
update
authorAnthony Minessale <anthony.minessale@gmail.com>
Mon, 30 Oct 2006 20:54:24 +0000 (20:54 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Mon, 30 Oct 2006 20:54:24 +0000 (20:54 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3237 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_dingaling/mod_dingaling.c

index 8907ccb99e5a3dac110319b98c475dac010fa77f..d54ead1562468888f3c900bed02cba8f17714107 100644 (file)
@@ -191,7 +191,7 @@ static ldl_status handle_signalling(ldl_handle_t *handle, ldl_session_t *dlsessi
 static ldl_status handle_response(ldl_handle_t *handle, char *id);
 static switch_status_t load_config(void);
 
-#define is_special(s) (strstr(s, "ext+") || strstr(s, "user+") || strstr(s, "conf+"))
+#define is_special(s) (s && (strstr(s, "ext+") || strstr(s, "user+") || strstr(s, "conf+")))
 
 static char *translate_rpid(char *in, char *ext)
 {