Explorar o código

take back half of my bugfix. comparing times sucks.
but leave the other half.


svn:r5495

Roger Dingledine %!s(int64=20) %!d(string=hai) anos
pai
achega
7d032bd300
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/or/circuituse.c

+ 1 - 1
src/or/circuituse.c

@@ -241,7 +241,7 @@ circuit_expire_building(time_t now)
           /* c_rend_ready circs measure age since timestamp_dirty,
            * because that's set when they switch purposes
            */
-          if (!victim->rend_query[0] || victim->timestamp_dirty <= cutoff)
+          if (!victim->rend_query[0] || victim->timestamp_dirty > cutoff)
             continue;
           break;
         case CIRCUIT_PURPOSE_C_REND_READY_INTRO_ACKED: