diff options
author | Roger Dingledine <arma@torproject.org> | 2008-11-21 14:07:57 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2008-11-21 14:07:57 +0000 |
commit | 0b7a2a505ea897583f185dcd753e6b8a28a654aa (patch) | |
tree | c0b34a02f1706149ad87f367b451fb6c0a391ed1 /src | |
parent | 02fe9edf7c7fe9af0f48f13d642671776655024b (diff) | |
download | tor-0b7a2a505ea897583f185dcd753e6b8a28a654aa.tar.gz tor-0b7a2a505ea897583f185dcd753e6b8a28a654aa.zip |
prepare_for_poll() -- plus its mysterious cousin, prepare_for_pool() --
are long gone.
svn:r17351
Diffstat (limited to 'src')
-rw-r--r-- | src/or/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/main.c b/src/or/main.c index 2d3cc72c6d..c40e19ec07 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -45,10 +45,10 @@ int global_relayed_read_bucket; /** Max number of relayed (bandwidth class 1) bytes I can write this second. */ int global_relayed_write_bucket; -/** What was the read bucket before the last call to prepare_for_pool? +/** What was the read bucket before the last second_elapsed_callback() call? * (used to determine how many bytes we've read). */ static int stats_prev_global_read_bucket; -/** What was the write bucket before the last call to prepare_for_pool? +/** What was the write bucket before the last second_elapsed_callback() call? * (used to determine how many bytes we've written). */ static int stats_prev_global_write_bucket; /* XXX we might want to keep stats about global_relayed_*_bucket too. Or not.*/ @@ -817,7 +817,7 @@ signewnym_impl(time_t now) } /** Perform regular maintenance tasks. This function gets run once per - * second by prepare_for_poll. + * second by second_elapsed_callback(). */ static void run_scheduled_events(time_t now) |