瀏覽代碼

- missing dst intialization fix

Andrei Pelinescu-Onciul 19 年之前
父節點
當前提交
9ed1dccf9e
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      forward.c

+ 1 - 2
forward.c

@@ -440,8 +440,7 @@ int forward_reply(struct sip_msg* msg)
 	char* s;
 	int len;
 #endif
-	
-	dst.id=0;
+	memset(&dst, 0, sizeof(struct dest_info));	
 	new_buf=0;
 	/*check if first via host = us */
 	if (check_via){