diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-01-15 05:57:19 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-01-15 05:57:19 +0000 |
commit | 24aae484c93b09c7fc735e53874f02a22e4b5b43 (patch) | |
tree | 52b359e727d2a0c6325fd21ef881b20818f32baa /src/or/eventdns.c | |
parent | a984011814b3de3c4a300c364893cd6c6cc8ec05 (diff) | |
download | tor-24aae484c93b09c7fc735e53874f02a22e4b5b43.tar.gz tor-24aae484c93b09c7fc735e53874f02a22e4b5b43.zip |
r17624@catbus: nickm | 2008-01-15 00:42:01 -0500
Fixes to more anonymously-reported typos and logic errors.
svn:r13136
Diffstat (limited to 'src/or/eventdns.c')
-rw-r--r-- | src/or/eventdns.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/eventdns.c b/src/or/eventdns.c index d923d26cc1..f6dbe03018 100644 --- a/src/or/eventdns.c +++ b/src/or/eventdns.c @@ -2118,6 +2118,7 @@ _evdns_nameserver_add_impl(unsigned long int address, int port) { #else fcntl(ns->socket, F_SETFL, O_NONBLOCK); #endif + memset(&sin, 0, sizeof(sin)); sin.sin_addr.s_addr = address; sin.sin_port = htons(port); sin.sin_family = AF_INET; |