diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-04-08 04:59:34 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-04-08 04:59:34 +0000 |
commit | 656e31ba332061ec5937ca17549065542a2e64ad (patch) | |
tree | 81d8137e50989b017a15e169425c229c16bc7a4b /src | |
parent | f3b833cb474d193bdae69b0648cc77072ceb1b11 (diff) | |
download | tor-656e31ba332061ec5937ca17549065542a2e64ad.tar.gz tor-656e31ba332061ec5937ca17549065542a2e64ad.zip |
If it has not been 100 seconds since we told the cpuworker about an onion, complain! Oh, wait...
svn:r4059
Diffstat (limited to 'src')
-rw-r--r-- | src/or/cpuworker.c | 2 |
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--; |