Explorar el Código

fixup! Check for duplicate-close in connection_dir_finished_flusing()

Nick Mathewson hace 8 años
padre
commit
21a9d03445
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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);
   tor_assert(conn->base_.type == CONN_TYPE_DIR);
   tor_assert(conn->base_.type == CONN_TYPE_DIR);
 
 
-  if (conn->marked_for_close)
+  if (conn->base_.marked_for_close)
     return 0;
     return 0;
 
 
   /* Note that we have finished writing the directory response. For direct
   /* Note that we have finished writing the directory response. For direct