aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection.c
diff options
context:
space:
mode:
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 c20a8b041..c05736e02 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -866,8 +866,8 @@ void assert_connection_ok(connection_t *conn, time_t now)
/* buffers */
if (!connection_is_listener(conn)) {
- assert(conn->inbuf);
- assert(conn->outbuf);
+ assert_buf_ok(conn->inbuf);
+ assert_buf_ok(conn->outbuf);
}
assert(!now || conn->timestamp_lastread <= now);