summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-08-21 11:15:07 -0400
committerNick Mathewson <nickm@torproject.org>2018-08-21 11:15:07 -0400
commit21a9d034455a9c302055524a9d4dccbfddb220f2 (patch)
tree3b2f1932027a75639e7f586df58edc4235f72fa6
parent18183de0609a45a92b69d00e37ab569921e63413 (diff)
downloadtor-21a9d034455a9c302055524a9d4dccbfddb220f2.tar.gz
tor-21a9d034455a9c302055524a9d4dccbfddb220f2.zip
fixup! Check for duplicate-close in connection_dir_finished_flusing()
-rw-r--r--src/or/directory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index 32ec876f78..ca53756cbe 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