]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-3794 zig zag mismatch
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 23 Feb 2012 00:39:16 +0000 (18:39 -0600)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 23 Feb 2012 00:39:16 +0000 (18:39 -0600)
src/mod/endpoints/mod_sofia/sofia_presence.c

index e469eaca229c0a326175b42edce41c55e4aa8196..aad3caad5fe000539bf64da33f4c9ace2f3c813f 100644 (file)
@@ -2633,7 +2633,7 @@ static int sofia_presence_sub_callback(void *pArg, int argc, char **argv, char *
                        if (in) {
                                open = "open";
 
-                               if (!strcasecmp(astate, "terminated") && switch_false(resub)) {
+                               if (switch_false(resub)) {
                                        int term;
 
                                        const char *direction = switch_event_get_header(helper->event, "Caller-Direction");