diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-09-21 22:57:07 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-09-21 22:57:07 +0000 |
commit | 63395c747c97a180ea1f1c107609e57e6a9c9082 (patch) | |
tree | 1d851ea4e2533cb6362cf74dd96bee884f8f3acf | |
parent | 58200f06a55faa623d20a097e54de74a24938884 (diff) | |
download | tor-63395c747c97a180ea1f1c107609e57e6a9c9082.tar.gz tor-63395c747c97a180ea1f1c107609e57e6a9c9082.zip |
Fix stupid C mistake. Glad I caught that one fast.
svn:r8448
-rw-r--r-- | src/or/dns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/dns.c b/src/or/dns.c index 4a3f11389b..6f7bccecbd 100644 --- a/src/or/dns.c +++ b/src/or/dns.c @@ -518,7 +518,7 @@ dns_resolve(edge_connection_t *exitconn) assert_cache_ok(); - is_resolve = exitconn->_base.purpose = EXIT_PURPOSE_RESOLVE; + is_resolve = exitconn->_base.purpose == EXIT_PURPOSE_RESOLVE; /* first check if exitconn->_base.address is an IP. If so, we already * know the answer. */ |