Module: sip-router
Branch: master
Commit: 6f7bd906b64527667d5067795ff3401796708a1a
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=6f7bd90…
Author: Henning Westerholt <henning.westerholt(a)1und1.de>
Committer: Henning Westerholt <henning.westerholt(a)1und1.de>
Date: Mon Aug 9 17:25:14 2010 +0200
siputils(k): fix bug introduced in the sl unification
---
modules_k/siputils/options.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules_k/siputils/options.c b/modules_k/siputils/options.c
index cac1158..d12e396 100644
--- a/modules_k/siputils/options.c
+++ b/modules_k/siputils/options.c
@@ -112,7 +112,7 @@ int opt_reply(struct sip_msg* _msg, char* _foo, char* _bar) {
if (add_lump_rpl( _msg, rpl_hf.s, rpl_hf.len,
LUMP_RPL_HDR|LUMP_RPL_NODUP)!=0) {
- if (opt_slb.send_reply(_msg, 200, &opt_200_rpl) == -1) {
+ if (opt_slb.freply(_msg, 200, &opt_200_rpl) == -1) {
LM_ERR("failed to send 200 via send_reply\n");
return -1;
}
@@ -124,7 +124,7 @@ int opt_reply(struct sip_msg* _msg, char* _foo, char* _bar) {
}
error:
- if (opt_slb.send_reply(_msg, 500, &opt_500_rpl) == -1) {
+ if (opt_slb.freply(_msg, 500, &opt_500_rpl) == -1) {
LM_ERR("failed to send 500 via send_reply\n");
return -1;
}