summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-01-19 11:58:40 -0500
committerNick Mathewson <nickm@torproject.org>2015-01-19 11:58:40 -0500
commit061682c829b262dbcaf0fdc40c9aa5a2a599cc0c (patch)
treed7d57196794ef775ece2cfb33d71ea9d27878e7b /src
parent2e8b8c8698a326597a07020e2f29a79948094f0e (diff)
downloadtor-061682c829b262dbcaf0fdc40c9aa5a2a599cc0c.tar.gz
tor-061682c829b262dbcaf0fdc40c9aa5a2a599cc0c.zip
Some days I just can't C.
Diffstat (limited to 'src')
-rw-r--r--src/or/connection_edge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c
index 9031edb8a6..d1ad56d553 100644
--- a/src/or/connection_edge.c
+++ b/src/or/connection_edge.c
@@ -1064,7 +1064,7 @@ connection_ap_handshake_rewrite(entry_connection_t *conn,
* previously registered Automap entries, TrackHostExits entries,
* and client-side DNS cache entries (not recommended).
*/
- if (!socks->command != SOCKS_COMMAND_RESOLVE_PTR &&
+ if (socks->command != SOCKS_COMMAND_RESOLVE_PTR &&
!out->automap) {
unsigned rewrite_flags = AMR_FLAG_USE_AUTOMAP | AMR_FLAG_USE_TRACKEXIT;
addressmap_entry_source_t exit_source2;