Module: kamailio
Branch: master
Commit: 73d29ddde2b38cfea2c9ca4a84f4b8a246b7da50
URL:
https://github.com/kamailio/kamailio/commit/73d29ddde2b38cfea2c9ca4a84f4b8a…
Author: Alex Hermann <alex(a)hexla.nl>
Committer: Henning Westerholt <henningw(a)users.noreply.github.com>
Date: 2019-02-05T21:11:03+01:00
siputils: Return true if options_reply() succeeds
---
Modified: src/modules/siputils/options.c
---
Diff:
https://github.com/kamailio/kamailio/commit/73d29ddde2b38cfea2c9ca4a84f4b8a…
Patch:
https://github.com/kamailio/kamailio/commit/73d29ddde2b38cfea2c9ca4a84f4b8a…
---
diff --git a/src/modules/siputils/options.c b/src/modules/siputils/options.c
index 67cf07856d..484c65f75f 100644
--- a/src/modules/siputils/options.c
+++ b/src/modules/siputils/options.c
@@ -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");
@@ -124,6 +124,6 @@ int opt_reply(struct sip_msg* _msg, char* _foo, char* _bar) {
return -1;
}
else
- return 0;
+ return 1;
}