File frox-0.7.18-sin.zero.dif of Package frox

diff -uNr frox-0.7.18.orig/src/misc.c frox-0.7.18/src/misc.c
--- frox-0.7.18.orig/src/misc.c	2005-02-04 11:24:55.000000000 +0100
+++ frox-0.7.18/src/misc.c	2005-02-16 17:33:03.941382944 +0100
@@ -141,6 +141,7 @@
 {
 	struct sockaddr_in ret;
 
+	memset(&(ret.sin_zero), 0, sizeof(ret.sin_zero));
 	ret.sin_addr.s_addr = htonl(a4 + (a3 << 8) + (a2 << 16) + (a1 << 24));
 	ret.sin_port = htons((p1 << 8) + p2);
 	ret.sin_family = AF_INET;
openSUSE Build Service is sponsored by