aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection_or.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2003-09-27 21:09:56 +0000
committerRoger Dingledine <arma@torproject.org>2003-09-27 21:09:56 +0000
commitcb8212bfcb56980893993db5bd4098944735b38a (patch)
treec1f382a4d4d861498956384804e2a55f338237e4 /src/or/connection_or.c
parent798bb6ab3b089005fddfded0513edeb2da231354 (diff)
downloadtor-cb8212bfcb56980893993db5bd4098944735b38a.tar
tor-cb8212bfcb56980893993db5bd4098944735b38a.tar.gz
clean up receiver buckets; prepare for payloads in relay_end; note a few bugs
svn:r502
Diffstat (limited to 'src/or/connection_or.c')
-rw-r--r--src/or/connection_or.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection_or.c b/src/or/connection_or.c
index 6e31966dc..cddbc93c2 100644
--- a/src/or/connection_or.c
+++ b/src/or/connection_or.c
@@ -77,7 +77,7 @@ int connection_or_finished_flushing(connection_t *conn) {
void connection_or_init_conn_from_router(connection_t *conn, routerinfo_t *router) {
conn->addr = router->addr;
conn->port = router->or_port;
- conn->bandwidth = router->bandwidth;
+ conn->receiver_bucket = conn->bandwidth = router->bandwidth;
conn->onion_pkey = crypto_pk_dup_key(router->onion_pkey);
conn->link_pkey = crypto_pk_dup_key(router->link_pkey);
conn->identity_pkey = crypto_pk_dup_key(router->identity_pkey);