]> git.pld-linux.org Git - packages/cDonkey.git/blame - cDonkey-in_addr.patch
- rel 3 to rebuild with new db
[packages/cDonkey.git] / cDonkey-in_addr.patch
CommitLineData
03454a25 1diff -Nru cDonkey-0.9.0.orig/cSocket.cpp cDonkey-0.9.0/cSocket.cpp
2--- cDonkey-0.9.0.orig/cSocket.cpp 2003-05-07 20:21:33.000000000 +0200
3+++ cDonkey-0.9.0/cSocket.cpp 2003-10-17 09:28:56.660251192 +0200
4@@ -1180,7 +1180,7 @@
5 }}}
6 // try to set our local externally visible address
7 void cSocket::setLocalExternalIP(struct in_addr new_addr) {{{
8- static struct in_addr last_ip_seen = 0;
9+ static struct in_addr last_ip_seen = { 0 };
10 static int same_ip_count = 0;
11
12 if (new_addr.s_addr != last_ip_seen.s_addr) {
This page took 0.089702 seconds and 4 git commands to generate.