diff options
author | Roger Dingledine <arma@torproject.org> | 2004-11-17 20:26:39 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-11-17 20:26:39 +0000 |
commit | 2e4763655d74dcb82b51b97ab716672605b1cbe9 (patch) | |
tree | 8c4c934c8a22d784417be11fd17ada8af87e98d2 /src/or/main.c | |
parent | 82185d82839dd7db97b01d6dbd59aa897d757086 (diff) | |
download | tor-2e4763655d74dcb82b51b97ab716672605b1cbe9.tar tor-2e4763655d74dcb82b51b97ab716672605b1cbe9.tar.gz |
bugfix: when our poll is interrupted, we believed the revents values.
svn:r2907
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 c3de91c88..b93ee6e30 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -862,6 +862,9 @@ static int do_main_loop(void) { return -1; } else { log_fn(LOG_DEBUG,"poll interrupted."); + /* You can't trust the results of this poll(). Go back to the + * top of the big for loop. */ + continue; } } |