mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-20 10:12:15 +01:00
bugfix: when our poll is interrupted, we believed the revents values.
svn:r2907
This commit is contained in:
parent
82185d8283
commit
2e4763655d
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user