Jelajahi Sumber

siptrace: fixed missing extern declarations of global parameters

Daniel-Constantin Mierla 5 tahun lalu
induk
melakukan
a21052ad5a
1 mengubah file dengan 3 tambahan dan 1 penghapusan
  1. 3 1
      src/modules/siptrace/siptrace_send.c

+ 3 - 1
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) {