Browse code

siptrace: fixed missing extern declarations of global parameters

Daniel-Constantin Mierla authored on 07/04/2020 16:27:39
Showing 1 changed files
... ...
@@ -40,6 +40,8 @@ extern int trace_xheaders_write;
40 40
 extern int trace_xheaders_read;
41 41
 extern str trace_dup_uri_str;
42 42
 extern sip_uri_t *trace_dup_uri;
43
+extern str trace_send_sock_str;
44
+extern sip_uri_t *trace_send_sock_uri;
43 45
 
44 46
 /**
45 47
  *
... ...
@@ -280,7 +282,7 @@ int sip_trace_xheaders_free(struct _siptrace_data *sto)
280 282
 int trace_send_duplicate(char *buf, int len, dest_info_t *dst2)
281 283
 {
282 284
 	dest_info_t dst;
283
-	dest_info_t pdst;
285
+	dest_info_t *pdst = NULL;
284 286
 	proxy_l_t *p = NULL;
285 287
 
286 288
 	if(buf == NULL || len <= 0) {