diff options
author | Roger Dingledine <arma@torproject.org> | 2004-11-04 03:25:43 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-11-04 03:25:43 +0000 |
commit | d0c158c8d69ead9c5d60011589bdf4d379aca208 (patch) | |
tree | 315483816c9e4300119e5c8349690bc806e5bac4 /src/or/connection_or.c | |
parent | a4753283dd95a6399f65f8f439bad525702a08fc (diff) | |
download | tor-d0c158c8d69ead9c5d60011589bdf4d379aca208.tar.gz tor-d0c158c8d69ead9c5d60011589bdf4d379aca208.zip |
clarify the bandwidthburst and bandwidthrate are in bytes
(niels had thought they were in bits, or kb, or something)
svn:r2669
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 2852ad599e..4b01778b67 100644 --- a/src/or/connection_or.c +++ b/src/or/connection_or.c @@ -132,7 +132,7 @@ connection_or_init_conn_from_address(connection_t *conn, conn->addr = addr; conn->port = port; /* This next part isn't really right, but it's good enough for now. */ - conn->receiver_bucket = conn->bandwidth = options.BandwidthBurst; + conn->receiver_bucket = conn->bandwidth = options.BandwidthBurstBytes; memcpy(conn->identity_digest, id_digest, DIGEST_LEN); /* If we're an authoritative directory server, we may know a * nickname for this router. */ |