aboutsummaryrefslogtreecommitdiff
path: root/src/or/cpuworker.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/cpuworker.c')
-rw-r--r--src/or/cpuworker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/cpuworker.c b/src/or/cpuworker.c
index 7a5a046b27..afe3b7a103 100644
--- a/src/or/cpuworker.c
+++ b/src/or/cpuworker.c
@@ -375,7 +375,7 @@ cull_wedged_cpuworkers(void) {
if (!conn->marked_for_close &&
conn->type == CONN_TYPE_CPUWORKER &&
conn->state == CPUWORKER_STATE_BUSY_ONION &&
- conn->timestamp_lastwritten + CPUWORKER_BUSY_TIMEOUT > now) {
+ conn->timestamp_lastwritten + CPUWORKER_BUSY_TIMEOUT < now) {
log_fn(LOG_NOTICE,"Bug: closing wedged cpuworker. Can somebody find the bug?");
num_cpuworkers_busy--;
num_cpuworkers--;