Explorar o código

- missing dst intialization fix

Andrei Pelinescu-Onciul %!s(int64=19) %!d(string=hai) anos
pai
achega
9ed1dccf9e
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  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){