Module: sip-router
Branch: kamailio_3.0
Commit: cfe339e04ce21b785642a026246618cf840ecad7
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=cfe339e…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Fri Oct 30 15:19:42 2009 +0100
tm: fix branches clearing lumps
- fix bug introduced in 610cb93
(cherry picked from commit 6a55e42edd0cf0ac82b2099a74b4896fdc801145)
---
modules/tm/t_fwd.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/modules/tm/t_fwd.c b/modules/tm/t_fwd.c
index c917e2f..e4df337 100644
--- a/modules/tm/t_fwd.c
+++ b/modules/tm/t_fwd.c
@@ -232,8 +232,6 @@ static int prepare_new_uac( struct cell *t, struct sip_msg *i_req,
#endif
add_rm_backup = i_req->add_rm;
body_lumps_backup = i_req->body_lumps;
- i_req->add_rm=0;
- i_req->body_lumps=0;
if (unlikely(i_req->add_rm)){
i_req->add_rm = dup_lump_list(i_req->add_rm);
if (unlikely(i_req->add_rm==0)){