[sr-dev] git:master:68db22bd: core: do not execute clear_branches() on next faked msg

Daniel-Constantin Mierla miconda at gmail.com
Mon Jun 19 16:29:22 CEST 2017


Module: kamailio
Branch: master
Commit: 68db22bdfe50ff34df8e33bc06b80b5ad4844d7b
URL: https://github.com/kamailio/kamailio/commit/68db22bdfe50ff34df8e33bc06b80b5ad4844d7b

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2017-06-19T16:26:00+02:00

core: do not execute clear_branches() on next faked msg

- the function clears the global variables for branches

---

Modified: src/core/fmsg.c

---

Diff:  https://github.com/kamailio/kamailio/commit/68db22bdfe50ff34df8e33bc06b80b5ad4844d7b.diff
Patch: https://github.com/kamailio/kamailio/commit/68db22bdfe50ff34df8e33bc06b80b5ad4844d7b.patch

---

diff --git a/src/core/fmsg.c b/src/core/fmsg.c
index 9b30ea295c..ba83a5b876 100644
--- a/src/core/fmsg.c
+++ b/src/core/fmsg.c
@@ -74,7 +74,6 @@ sip_msg_t* faked_msg_next(void)
 	_faked_msg.id = 1 + _faked_msg_no++;
 	_faked_msg.pid = my_pid();
 	memset(&_faked_msg.tval, 0, sizeof(struct timeval));
-	clear_branches();
 	return &_faked_msg;
 }
 




More information about the sr-dev mailing list