Browse Source

Some days I just can't C.

Nick Mathewson 9 years ago
parent
commit
061682c829
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/or/connection_edge.c

+ 1 - 1
src/or/connection_edge.c

@@ -1064,7 +1064,7 @@ connection_ap_handshake_rewrite(entry_connection_t *conn,
    * previously registered Automap entries, TrackHostExits entries,
    * previously registered Automap entries, TrackHostExits entries,
    * and client-side DNS cache entries (not recommended).
    * and client-side DNS cache entries (not recommended).
    */
    */
-  if (!socks->command != SOCKS_COMMAND_RESOLVE_PTR &&
+  if (socks->command != SOCKS_COMMAND_RESOLVE_PTR &&
       !out->automap) {
       !out->automap) {
     unsigned rewrite_flags = AMR_FLAG_USE_AUTOMAP | AMR_FLAG_USE_TRACKEXIT;
     unsigned rewrite_flags = AMR_FLAG_USE_AUTOMAP | AMR_FLAG_USE_TRACKEXIT;
     addressmap_entry_source_t exit_source2;
     addressmap_entry_source_t exit_source2;