From: trojan Date: Fri, 17 Oct 2003 07:42:52 +0000 (+0000) Subject: - added X-Git-Tag: auto/ac/cDonkey-0_9_0-1~1 X-Git-Url: http://git.pld-linux.org/?p=packages%2FcDonkey.git;a=commitdiff_plain;h=03454a256a4ed109733699f8d66addf3624c6bf4;hp=bef59726375fa497832f9207b10643a20c9fc058 - added Changed files: cDonkey-in_addr.patch -> 1.1 --- diff --git a/cDonkey-in_addr.patch b/cDonkey-in_addr.patch new file mode 100644 index 0000000..cef00af --- /dev/null +++ b/cDonkey-in_addr.patch @@ -0,0 +1,12 @@ +diff -Nru cDonkey-0.9.0.orig/cSocket.cpp cDonkey-0.9.0/cSocket.cpp +--- cDonkey-0.9.0.orig/cSocket.cpp 2003-05-07 20:21:33.000000000 +0200 ++++ cDonkey-0.9.0/cSocket.cpp 2003-10-17 09:28:56.660251192 +0200 +@@ -1180,7 +1180,7 @@ + }}} + // try to set our local externally visible address + void cSocket::setLocalExternalIP(struct in_addr new_addr) {{{ +- static struct in_addr last_ip_seen = 0; ++ static struct in_addr last_ip_seen = { 0 }; + static int same_ip_count = 0; + + if (new_addr.s_addr != last_ip_seen.s_addr) {