summaryrefslogtreecommitdiff
path: root/src/or/connection.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2003-12-19 05:09:51 +0000
committerRoger Dingledine <arma@torproject.org>2003-12-19 05:09:51 +0000
commit45a66c69553b7185a68e516426a99f333f7fe9f6 (patch)
treef5d1a14336bc264a30ba770662f8e3933b7c735a /src/or/connection.c
parenteb730c41c8a799bc61dfd7d106443fe467921caa (diff)
downloadtor-45a66c69553b7185a68e516426a99f333f7fe9f6.tar.gz
tor-45a66c69553b7185a68e516426a99f333f7fe9f6.zip
make a relay_header_t struct and pack/unpack funcs
split 7-byte stream_id string into 2-byte recognized and 2-byte stream_id fix two seg faults in fetch_from_buf_http fix several lurking seg faults in handling unexpected relay cells still need to * clean up relay_crypt * use relay dummies if there's going to be a conflict with rh.recognized * check for a conflict when generating stream_ids svn:r953
Diffstat (limited to 'src/or/connection.c')
-rw-r--r--src/or/connection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection.c b/src/or/connection.c
index aaf01b6b93..c94e30ba36 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -760,7 +760,7 @@ void assert_connection_ok(connection_t *conn, time_t now)
}
if (conn->type != CONN_TYPE_EXIT && conn->type != CONN_TYPE_AP) {
- assert(!conn->stream_id[0]);
+ assert(!conn->stream_id);
assert(!conn->next_stream);
assert(!conn->cpath_layer);
assert(!conn->package_window);