diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-08-28 21:51:57 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-08-28 21:51:57 +0000 |
commit | af8476c755b9821c76094d821a13b9da20c008df (patch) | |
tree | 3e3e423e63291e101f1f90ca90b394f1d6709ad8 /net/cdonkey/files/patch-cSocket.cpp | |
parent | add slave port for Photo Image Print System for Linux --- EPSON PX-G900. (diff) |
- Update to 0.9.0
Diffstat (limited to 'net/cdonkey/files/patch-cSocket.cpp')
-rw-r--r-- | net/cdonkey/files/patch-cSocket.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net/cdonkey/files/patch-cSocket.cpp b/net/cdonkey/files/patch-cSocket.cpp new file mode 100644 index 000000000000..0a2beb1fa6f1 --- /dev/null +++ b/net/cdonkey/files/patch-cSocket.cpp @@ -0,0 +1,11 @@ +--- cSocket.cpp.orig Wed May 7 20:21:33 2003 ++++ cSocket.cpp Thu Aug 26 18:53:39 2004 +@@ -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; + static int same_ip_count = 0; + + if (new_addr.s_addr != last_ip_seen.s_addr) { |