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

Author: Daniel-Constantin Mierla <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
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;
 }
 


_______________________________________________
Kamailio (SER) - Development Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to