bugfix: when our poll is interrupted, we believed the revents values.

svn:r2907
This commit is contained in:
Roger Dingledine 2004-11-17 20:26:39 +00:00
parent 82185d8283
commit 2e4763655d

View File

@ -862,6 +862,9 @@ static int do_main_loop(void) {
return -1; return -1;
} else { } else {
log_fn(LOG_DEBUG,"poll interrupted."); 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;
} }
} }