Browse Source

make assign_onionskin_to_cpuworker failure case more clear

now it looks like the other time we call it
Roger Dingledine 6 years ago
parent
commit
005500e14d
1 changed files with 1 additions and 1 deletions
  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.");
   }
 }