Skip to content

Commit

Permalink
topoh: proper detection of cancel reply for processing
Browse files Browse the repository at this point in the history
- reported by Alex Balashov
  • Loading branch information
miconda committed Jan 20, 2016
1 parent 8d2a7a9 commit 0ce6690
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/topoh/topoh_mod.c
Expand Up @@ -331,7 +331,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;
}

Expand Down

0 comments on commit 0ce6690

Please sign in to comment.