prevent duplicat mark-for-close

svn:r5347
This commit is contained in:
Nick Mathewson 2005-11-04 05:00:12 +00:00
parent 9e82f0cdb7
commit a913cb3536

View File

@ -591,8 +591,9 @@ run_connection_housekeeping(int i, time_t now)
buf_datalen(conn->inbuf)>=1024) {
info(LD_DIR,"Trying to extract information from wedged server desc download.");
connection_dir_reached_eof(conn);
} else {
connection_mark_for_close(conn);
}
connection_mark_for_close(conn);
return;
}