瀏覽代碼

fixup! Check for duplicate-close in connection_dir_finished_flusing()

Nick Mathewson 6 年之前
父節點
當前提交
21a9d03445
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/or/directory.c

+ 1 - 1
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