Selaa lähdekoodia

- missing dst intialization fix

Andrei Pelinescu-Onciul 19 vuotta sitten
vanhempi
commit
9ed1dccf9e
1 muutettua tiedostoa jossa 1 lisäystä ja 2 poistoa
  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){