[tor-commits] [tor/master] make assign_onionskin_to_cpuworker failure case more clear
arma at torproject.org
arma at torproject.org
Wed Jun 21 21:42:31 UTC 2017
commit 005500e14d5a956601feb94712ea86e810d557f7
Author: Roger Dingledine <arma at torproject.org>
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.");
}
}
More information about the tor-commits
mailing list