[sr-dev] git:master: siputils(k): fix bug introduced in the sl unification

Henning Westerholt henning.westerholt at 1und1.de
Mon Aug 9 17:25:40 CEST 2010


Module: sip-router
Branch: master
Commit: 6f7bd906b64527667d5067795ff3401796708a1a
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=6f7bd906b64527667d5067795ff3401796708a1a

Author: Henning Westerholt <henning.westerholt at 1und1.de>
Committer: Henning Westerholt <henning.westerholt at 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;
 	}




More information about the sr-dev mailing list