commit 005500e14d5a956601feb94712ea86e810d557f7
parent 3a8a92fddd7a21b8e6b0b5a463e86639f1d04fc8
Author: Roger Dingledine <arma@torproject.org>
Date: Wed, 21 Jun 2017 17:42:10 -0400
make assign_onionskin_to_cpuworker failure case more clear
now it looks like the other time we call it
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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.");
}
}