diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-01-02 20:07:54 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-01-02 20:07:54 +0000 |
commit | 75eca91459b3840cfea1977efe6338f642b81a4a (patch) | |
tree | f6ebc42c904e03abfb68baee6e759b8b30215ba3 /src/or/main.c | |
parent | 4f565b73ef81daf7b9b96fb81de288b8aa167bad (diff) | |
download | tor-75eca91459b3840cfea1977efe6338f642b81a4a.tar tor-75eca91459b3840cfea1977efe6338f642b81a4a.tar.gz |
r11786@Kushana: nickm | 2007-01-02 14:32:54 -0500
Add a comment about a possible refactoring in main.c
svn:r9238
Diffstat (limited to 'src/or/main.c')
-rw-r--r-- | src/or/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/main.c b/src/or/main.c index 7d4117adc..1f082624c 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -956,6 +956,9 @@ static int n_libevent_errors = 0; static void second_elapsed_callback(int fd, short event, void *args) { + /* XXXX This could be sensibly refactored into multiple callbacks, and we + * could use libevent's timers for this rather than checking the current + * time against a bunch of timeouts every second. */ static struct timeval one_second; static long current_second = 0; struct timeval now; |