Explorar el Código

make assign_onionskin_to_cpuworker failure case more clear

now it looks like the other time we call it
Roger Dingledine hace 6 años
padre
commit
005500e14d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/or/cpuworker.c

+ 1 - 1
src/or/cpuworker.c

@@ -474,7 +474,7 @@ queue_pending_tasks(void)
     if (!circ)
       return;
 
-    if (assign_onionskin_to_cpuworker(circ, onionskin))
+    if (assign_onionskin_to_cpuworker(circ, onionskin) < 0)
       log_info(LD_OR,"assign_to_cpuworker failed. Ignoring.");
   }
 }