aboutsummaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2017-06-21 17:42:10 -0400
committerRoger Dingledine <arma@torproject.org>2017-06-21 17:42:10 -0400
commit005500e14d5a956601feb94712ea86e810d557f7 (patch)
treeb6e79b76da582fcf82bbb9322248beef5f00b79d /src/or
parent3a8a92fddd7a21b8e6b0b5a463e86639f1d04fc8 (diff)
downloadtor-005500e14d5a956601feb94712ea86e810d557f7.tar.gz
tor-005500e14d5a956601feb94712ea86e810d557f7.zip
make assign_onionskin_to_cpuworker failure case more clear
now it looks like the other time we call it
Diffstat (limited to 'src/or')
-rw-r--r--src/or/cpuworker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/cpuworker.c b/src/or/cpuworker.c
index 1013fa555e..06d45f9960 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.");
}
}