diff options
author | Roger Dingledine <arma@torproject.org> | 2003-09-27 21:09:56 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2003-09-27 21:09:56 +0000 |
commit | cb8212bfcb56980893993db5bd4098944735b38a (patch) | |
tree | c1f382a4d4d861498956384804e2a55f338237e4 /src/or/connection_or.c | |
parent | 798bb6ab3b089005fddfded0513edeb2da231354 (diff) | |
download | tor-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.c | 2 |
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); |