]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
fixup! Check for duplicate-close in connection_dir_finished_flusing()
authorNick Mathewson <nickm@torproject.org>
Tue, 21 Aug 2018 15:15:07 +0000 (11:15 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 21 Aug 2018 15:15:07 +0000 (11:15 -0400)
src/or/directory.c

index 32ec876f789d8fcbe162d352c38a0dea4b5fabf8..ca53756cbec8375b95ee10ee43ae790e15c10fcc 100644 (file)
@@ -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