Skip to content

Commit

Permalink
dialog: fix message re-generate condition after local route
Browse files Browse the repository at this point in the history
Fixes Coverity CID 40553 and 40605

(cherry picked from commit 85d7d3a)
  • Loading branch information
razvancrainea committed Nov 11, 2016
1 parent 05e03da commit 8012ce5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/tm/uac.c
Expand Up @@ -321,7 +321,7 @@ int t_uac(str* method, str* headers, str* body, dlg_t* dialog,
if (req->new_uri.s || req->force_send_socket!=dialog->send_sock ||
req->dst_uri.len != dialog->hooks.next_hop->len ||
memcmp(req->dst_uri.s,dialog->hooks.next_hop->s,req->dst_uri.len) ||
(dst_changed=0)==0 || req->add_rm || req->body_lumps){
(dst_changed=0)!=0 || req->add_rm || req->body_lumps){

new_send_sock = NULL;
/* do we also need to change the destination? */
Expand Down

0 comments on commit 8012ce5

Please sign in to comment.