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 dc54e02bf0
commit 33d8e853b4
+3
View File
@@ -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;
}
}