From 656e31ba332061ec5937ca17549065542a2e64ad Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Fri, 8 Apr 2005 04:59:34 +0000 Subject: If it has not been 100 seconds since we told the cpuworker about an onion, complain! Oh, wait... svn:r4059 --- src/or/cpuworker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/or/cpuworker.c') 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--; -- cgit v1.2.3-54-g00ecf