aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2003-05-27 23:39:04 +0000
committerRoger Dingledine <arma@torproject.org>2003-05-27 23:39:04 +0000
commit091e1c0167defd07d502aaa4d09a1bb6b227b583 (patch)
tree0d183c3166c95c9e2ea6dba0c9a96e25cd4194f0 /src/or/or.h
parentaca6196da99e51754f395728bd3a3ea0811deeb9 (diff)
downloadtor-091e1c0167defd07d502aaa4d09a1bb6b227b583.tar
tor-091e1c0167defd07d502aaa4d09a1bb6b227b583.tar.gz
fix design bug: circ->n_conn is shared among circs, so it can't
point to the streams for this circ. svn:r296
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/or.h b/src/or/or.h
index dfdeb43b6..435c0a2d5 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -362,7 +362,9 @@ typedef struct {
uint32_t n_addr;
uint16_t n_port;
connection_t *p_conn;
- connection_t *n_conn; /* convention: first conn is the OR conn, if there is one */
+ connection_t *n_conn; /* for the OR conn, if there is one */
+ connection_t *p_streams;
+ connection_t *n_streams;
int package_window;
int deliver_window;