]> git.pld-linux.org Git - packages/cDonkey.git/blobdiff - cDonkey-in_addr.patch
- added
[packages/cDonkey.git] / cDonkey-in_addr.patch
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.026904 seconds and 4 git commands to generate.