From 3ed6eecd71b3178f6dc7e777ee6fccb1314ef352 Mon Sep 17 00:00:00 2001 From: Daniel-Constantin Mierla Date: Wed, 20 Jan 2016 18:30:30 +0100 Subject: [PATCH] topoh: proper detection of cancel reply for processing - reported by Alex Balashov (cherry picked from commit 0ce66908ee9da74806e2fa506ef98b5f9043e47c) --- modules/topoh/topoh_mod.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/topoh/topoh_mod.c b/modules/topoh/topoh_mod.c index d3f347eb269..f6e576ca200 100644 --- a/modules/topoh/topoh_mod.c +++ b/modules/topoh/topoh_mod.c @@ -330,7 +330,7 @@ int th_msg_received(void *data) { /* one Via in received reply -- it is for local generated request * - nothing to unhide unless is CANCEL/ACK */ - if((get_cseq(&msg)->method_id)&(METHOD_CANCEL)) + if(!((get_cseq(&msg)->method_id)&(METHOD_CANCEL))) goto done; }