1 diff -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
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;
12 if (new_addr.s_addr != last_ip_seen.s_addr) {