[or-cvs] try to find the corrupt closeable_connection_lst entry early
Roger Dingledine
arma at seul.org
Sun Jan 30 20:31:11 UTC 2005
Update of /home2/or/cvsroot/tor/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/tor/src/or
Modified Files:
main.c
Log Message:
try to find the corrupt closeable_connection_lst entry early
Index: main.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/main.c,v
retrieving revision 1.431
retrieving revision 1.432
diff -u -d -r1.431 -r1.432
--- main.c 30 Jan 2005 00:07:31 -0000 1.431
+++ main.c 30 Jan 2005 20:31:08 -0000 1.432
@@ -181,6 +181,7 @@
{
tor_assert(!smartlist_isin(closeable_connection_lst, conn));
tor_assert(conn->marked_for_close);
+ tor_assert(conn->poll_index >= 0);
smartlist_add(closeable_connection_lst, conn);
}
More information about the tor-commits
mailing list