]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
sometimes, a conn on the closeable_lst gets absolutely
authorRoger Dingledine <arma@torproject.org>
Wed, 2 Feb 2005 00:19:09 +0000 (00:19 +0000)
committerRoger Dingledine <arma@torproject.org>
Wed, 2 Feb 2005 00:19:09 +0000 (00:19 +0000)
clobbered. maybe this will help me find out why.

svn:r3498

src/or/main.c

index 20c6e34035f9f256bd48bef7c3855530aacfb36f..31e3d2bd37f632b03d86e22c1b2829c6d04aa941 100644 (file)
@@ -203,6 +203,7 @@ add_connection_to_closeable_list(connection_t *conn)
 {
   tor_assert(!smartlist_isin(closeable_connection_lst, conn));
   tor_assert(conn->marked_for_close);
+  assert_connection_ok(conn, time(NULL));
   smartlist_add(closeable_connection_lst, conn);
 }