[tor-commits] [tor/master] Some days I just can't C.
nickm at torproject.org
nickm at torproject.org
Mon Jan 19 16:58:43 UTC 2015
commit 061682c829b262dbcaf0fdc40c9aa5a2a599cc0c
Author: Nick Mathewson <nickm at torproject.org>
Date: Mon Jan 19 11:58:40 2015 -0500
Some days I just can't C.
---
src/or/connection_edge.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c
index 9031edb..d1ad56d 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;
More information about the tor-commits
mailing list