ソースを参照

- 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){