diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-07-30 01:32:12 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-07-30 01:32:12 +0000 |
commit | 915c4c3ab8faae79151fbeb0f2116b56d52b0f5d (patch) | |
tree | b247296d0f94bb1ed2a0b8dc49b9ce2351684440 /src/or/or.h | |
parent | a3b8b2c4e362d74e56356faf9889c64b92e9eabc (diff) | |
download | tor-915c4c3ab8faae79151fbeb0f2116b56d52b0f5d.tar.gz tor-915c4c3ab8faae79151fbeb0f2116b56d52b0f5d.zip |
r14001@catbus: nickm | 2007-07-29 21:31:53 -0400
Try to call time(NULL) a little less.
svn:r10980
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/or.h b/src/or/or.h index e60f9887be..3bad879491 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -2422,10 +2422,10 @@ int connection_connect(connection_t *conn, const char *address, uint32_t addr, int retry_all_listeners(smartlist_t *replaced_conns, smartlist_t *new_conns); -int connection_bucket_write_limit(connection_t *conn); +int connection_bucket_write_limit(connection_t *conn, time_t now); int global_write_bucket_low(connection_t *conn, size_t attempt, int priority); void connection_bucket_init(void); -void connection_bucket_refill(int seconds_elapsed); +void connection_bucket_refill(int seconds_elapsed, time_t now); int connection_handle_read(connection_t *conn); |