]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
note that libevent does not have an an easy way to reset buckets atm
authorNick Mathewson <nickm@torproject.org>
Mon, 27 Sep 2010 16:45:56 +0000 (12:45 -0400)
committerNick Mathewson <nickm@torproject.org>
Mon, 27 Sep 2010 18:22:18 +0000 (14:22 -0400)
src/or/connection_or.c

index 044197d83aec32bd155c60250eabca5263a82dfe..3e4a6e22b80e0d269b3a5e52ba414db3899fbd48 100644 (file)
@@ -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 */