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

Author: Daniel-Constantin Mierla <mico...@gmail.com>
Committer: Daniel-Constantin Mierla <mico...@gmail.com>
Date: 2020-04-07T18:28:07+02:00

siptrace: fixed missing extern declarations of global parameters

---

Modified: src/modules/siptrace/siptrace_send.c

---

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

---

diff --git a/src/modules/siptrace/siptrace_send.c 
b/src/modules/siptrace/siptrace_send.c
index 34492df946..d0694b1d44 100644
--- a/src/modules/siptrace/siptrace_send.c
+++ b/src/modules/siptrace/siptrace_send.c
@@ -40,6 +40,8 @@ extern int trace_xheaders_write;
 extern int trace_xheaders_read;
 extern str trace_dup_uri_str;
 extern sip_uri_t *trace_dup_uri;
+extern str trace_send_sock_str;
+extern sip_uri_t *trace_send_sock_uri;
 
 /**
  *
@@ -280,7 +282,7 @@ int sip_trace_xheaders_free(struct _siptrace_data *sto)
 int trace_send_duplicate(char *buf, int len, dest_info_t *dst2)
 {
        dest_info_t dst;
-       dest_info_t pdst;
+       dest_info_t *pdst = NULL;
        proxy_l_t *p = NULL;
 
        if(buf == NULL || len <= 0) {


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

Reply via email to