[sr-dev] git:kamailio_3.0: sl(k): removed not needed var

Daniel-Constantin Mierla miconda at gmail.com
Thu Aug 12 11:01:10 CEST 2010


Module: sip-router
Branch: kamailio_3.0
Commit: 8672d515c263d73717503c1d4ce5499188205f16
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=8672d515c263d73717503c1d4ce5499188205f16

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Sat Jul 24 08:44:56 2010 +0200

sl(k): removed not needed var
(cherry picked from commit 52e256540d8d2e6aa17256887fb9ff17580af3f8)

---

 modules_k/sl/sl_funcs.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/modules_k/sl/sl_funcs.c b/modules_k/sl/sl_funcs.c
index 78e3f8a..a890697 100644
--- a/modules_k/sl/sl_funcs.c
+++ b/modules_k/sl/sl_funcs.c
@@ -171,7 +171,6 @@ int sl_get_reply_totag(struct sip_msg *msg, str *totag)
 int sl_send_reply_helper(struct sip_msg *msg ,int code, str *text, str *tag)
 {
 	str buf;
-	union sockaddr_union to;
 	char *dset;
 	int dset_len;
 	struct bookmark dummy_bm;
@@ -233,7 +232,7 @@ int sl_send_reply_helper(struct sip_msg *msg ,int code, str *text, str *tag)
 		goto error;
 	}
 
-	run_sl_callbacks( SLCB_REPLY_OUT, msg, &buf, code, text, &to );
+	run_sl_callbacks( SLCB_REPLY_OUT, msg, &buf, code, text, &dst.to );
 
 	/* supress multhoming support when sending a reply back -- that makes sure
 	   that replies will come from where requests came in; good for NATs




More information about the sr-dev mailing list