[sr-dev] git:5.1:3de32c77: siputils: Return true if options_reply() succeeds
Henning Westerholt
hw at kamailio.org
Tue Feb 5 21:29:07 CET 2019
Module: kamailio
Branch: 5.1
Commit: 3de32c77ae628bfa11f8a826e5eb4607a435a828
URL: https://github.com/kamailio/kamailio/commit/3de32c77ae628bfa11f8a826e5eb4607a435a828
Author: Alex Hermann <alex at hexla.nl>
Committer: Henning Westerholt <hw at kamailio.org>
Date: 2019-02-05T21:25:36+01:00
siputils: Return true if options_reply() succeeds
(cherry picked from commit 73d29ddde2b38cfea2c9ca4a84f4b8a246b7da50)
---
Modified: src/modules/siputils/options.c
---
Diff: https://github.com/kamailio/kamailio/commit/3de32c77ae628bfa11f8a826e5eb4607a435a828.diff
Patch: https://github.com/kamailio/kamailio/commit/3de32c77ae628bfa11f8a826e5eb4607a435a828.patch
---
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;
}
More information about the sr-dev
mailing list