Module: kamailio
Branch: master
Commit: 7532e92bc45f35348a34f9e7bd39fc00db4118dd
URL:
https://github.com/kamailio/kamailio/commit/7532e92bc45f35348a34f9e7bd39fc0…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-05-08T14:11:08+02:00
siptrace; fix parameter inside sip_trace_msg()
---
Modified: src/modules/siptrace/siptrace.c
---
Diff:
https://github.com/kamailio/kamailio/commit/7532e92bc45f35348a34f9e7bd39fc0…
Patch:
https://github.com/kamailio/kamailio/commit/7532e92bc45f35348a34f9e7bd39fc0…
---
diff --git a/src/modules/siptrace/siptrace.c b/src/modules/siptrace/siptrace.c
index b2638137c4d..0401f304b89 100644
--- a/src/modules/siptrace/siptrace.c
+++ b/src/modules/siptrace/siptrace.c
@@ -1214,7 +1214,7 @@ static int w_sip_trace_msg(sip_msg_t *msg, char *dest, char
*correlation_id, cha
nmsg = msg;
}
- ret = w_sip_trace3(msg, dest, correlation_id, NULL);
+ ret = w_sip_trace3(nmsg, dest, correlation_id, NULL);
if(nmsg != msg) {
free_sip_msg(&tmsg);