[or-cvs] Backport </> inversion fix.

Nick Mathewson nickm at seul.org
Fri Apr 8 05:00:35 UTC 2005


Update of /home/or/cvsroot/tor/src/or
In directory moria.mit.edu:/tmp/cvs-serv22330/src/or

Modified Files:
      Tag: tor-0_0_9-patches
	cpuworker.c 
Log Message:
Backport </> inversion fix.

Index: cpuworker.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/cpuworker.c,v
retrieving revision 1.61.2.3
retrieving revision 1.61.2.4
diff -u -d -r1.61.2.3 -r1.61.2.4
--- cpuworker.c	7 Apr 2005 21:23:10 -0000	1.61.2.3
+++ cpuworker.c	8 Apr 2005 05:00:33 -0000	1.61.2.4
@@ -366,7 +366,7 @@
     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--;



More information about the tor-commits mailing list