[or-cvs] r10495: Change an assert into a tor_assert (tor/trunk/src/or)

weasel at seul.org weasel at seul.org
Tue Jun 5 01:09:09 UTC 2007


Author: weasel
Date: 2007-06-04 21:09:09 -0400 (Mon, 04 Jun 2007)
New Revision: 10495

Modified:
   tor/trunk/src/or/connection.c
Log:
Change an assert into a tor_assert

Modified: tor/trunk/src/or/connection.c
===================================================================
--- tor/trunk/src/or/connection.c	2007-06-05 01:07:15 UTC (rev 10494)
+++ tor/trunk/src/or/connection.c	2007-06-05 01:09:09 UTC (rev 10495)
@@ -428,7 +428,7 @@
   edge_connection_t *edge_conn;
   time_t now = time(NULL);
 
-  assert(conn->marked_for_close);
+  tor_assert(conn->marked_for_close);
 
   if (CONN_IS_EDGE(conn)) {
     if (!conn->edge_has_sent_end) {



More information about the tor-commits mailing list