summaryrefslogtreecommitdiff
path: root/src/or/connection.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2009-08-08 18:53:24 -0700
committerNick Mathewson <nickm@torproject.org>2010-09-27 12:31:13 -0400
commit9f8027abfd70c364edbdddb90faa0adfa5547409 (patch)
tree3be707a60ab2bbee327707bca20938b7f4e2bf02 /src/or/connection.c
parentd830eb366ab037c820b138cfbb8f4bd66986bf42 (diff)
downloadtor-9f8027abfd70c364edbdddb90faa0adfa5547409.tar.gz
tor-9f8027abfd70c364edbdddb90faa0adfa5547409.zip
Make a function to mark a connection and set hold_open_until_flushed.
Diffstat (limited to 'src/or/connection.c')
-rw-r--r--src/or/connection.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/connection.c b/src/or/connection.c
index 6665809bc2..3788348cd2 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -3566,8 +3566,8 @@ assert_connection_ok(connection_t *conn, time_t now)
if (conn->bufev) {
tor_assert(conn->read_event == NULL);
tor_assert(conn->write_event == NULL);
- tor_assert(conn->inbuf == NULL);
- tor_assert(conn->outbuf == NULL);
+ /* XXX reinstate tor_assert(conn->inbuf == NULL);
+ tor_assert(conn->outbuf == NULL);*/
}
#endif