aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection_or.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2010-09-27 12:45:56 -0400
committerNick Mathewson <nickm@torproject.org>2010-09-27 14:22:18 -0400
commitc93cceb9193184a5203848fa74bdde53fb4d77f5 (patch)
tree37d5770a62d83be6e6e5bbf1056b872d5be21aa1 /src/or/connection_or.c
parentb49cf6a77a75051bcc5a0ed62d89d04abe3eb880 (diff)
downloadtor-c93cceb9193184a5203848fa74bdde53fb4d77f5.tar.gz
tor-c93cceb9193184a5203848fa74bdde53fb4d77f5.zip
note that libevent does not have an an easy way to reset buckets atm
Diffstat (limited to 'src/or/connection_or.c')
-rw-r--r--src/or/connection_or.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/connection_or.c b/src/or/connection_or.c
index 044197d83a..3e4a6e22b8 100644
--- a/src/or/connection_or.c
+++ b/src/or/connection_or.c
@@ -401,6 +401,7 @@ connection_or_update_token_buckets_helper(or_connection_t *conn, int reset,
if (old_cfg)
ev_token_bucket_cfg_free(old_cfg);
conn->bucket_cfg = cfg;
+ (void) reset; /* No way to do this with libevent yet. */
}
#else
if (reset) { /* set up the token buckets to be full */