]> git.pld-linux.org Git - packages/cDonkey.git/commitdiff
- added
authortrojan <trojan@pld-linux.org>
Fri, 17 Oct 2003 07:42:52 +0000 (07:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cDonkey-in_addr.patch -> 1.1

cDonkey-in_addr.patch [new file with mode: 0644]

diff --git a/cDonkey-in_addr.patch b/cDonkey-in_addr.patch
new file mode 100644 (file)
index 0000000..cef00af
--- /dev/null
@@ -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) {
This page took 0.0657 seconds and 4 git commands to generate.