Skip to content

Commit

Permalink
siputils: Return true if options_reply() succeeds
Browse files Browse the repository at this point in the history
(cherry picked from commit 73d29dd)
  • Loading branch information
gaaf authored and henningw committed Feb 5, 2019
1 parent c931f28 commit 3de32c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/siputils/options.c
Expand Up @@ -112,7 +112,7 @@ int opt_reply(struct sip_msg* _msg, char* _foo, char* _bar) {
return -1;
}
else
return 0;
return 1;
} else {
pkg_free(rpl_hf.s);
LM_ERR("add_lump_rpl failed\n");
Expand All @@ -124,6 +124,6 @@ int opt_reply(struct sip_msg* _msg, char* _foo, char* _bar) {
return -1;
}
else
return 0;
return 1;
}

0 comments on commit 3de32c7

Please sign in to comment.