[tor-commits] [tor/release-0.3.4] fixup! Check for duplicate-close in connection_dir_finished_flusing()

nickm at torproject.org nickm at torproject.org
Fri Nov 2 13:05:24 UTC 2018


commit 21a9d034455a9c302055524a9d4dccbfddb220f2
Author: Nick Mathewson <nickm at torproject.org>
Date:   Tue Aug 21 11:15:07 2018 -0400

    fixup! Check for duplicate-close in connection_dir_finished_flusing()
---
 src/or/directory.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/or/directory.c b/src/or/directory.c
index 32ec876f7..ca53756cb 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -5179,7 +5179,7 @@ connection_dir_finished_flushing(dir_connection_t *conn)
   tor_assert(conn);
   tor_assert(conn->base_.type == CONN_TYPE_DIR);
 
-  if (conn->marked_for_close)
+  if (conn->base_.marked_for_close)
     return 0;
 
   /* Note that we have finished writing the directory response. For direct





More information about the tor-commits mailing list