[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] make assign_onionskin_to_cpuworker failure case more clear



commit 005500e14d5a956601feb94712ea86e810d557f7
Author: Roger Dingledine <arma@xxxxxxxxxxxxxx>
Date:   Wed Jun 21 17:42:10 2017 -0400

    make assign_onionskin_to_cpuworker failure case more clear
    
    now it looks like the other time we call it
---
 src/or/cpuworker.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/or/cpuworker.c b/src/or/cpuworker.c
index 1013fa5..06d45f9 100644
--- a/src/or/cpuworker.c
+++ b/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.");
   }
 }

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits