Procházet zdrojové kódy

make assign_onionskin_to_cpuworker failure case more clear

now it looks like the other time we call it
Roger Dingledine před 6 roky
rodič
revize
005500e14d
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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.");
   }
 }