[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 21a9d034455a9c302055524a9d4dccbfddb220f2
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits