diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-03-12 11:15:50 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-03-12 11:15:50 -0400 |
commit | 648af0438d4a293f12b649afc47dd947a7666a05 (patch) | |
tree | 2be41bf7d32a70537f28cc39bccba383212eb72a /src/or/cpuworker.c | |
parent | 66c81802076811cf2e329525a0fc9cb38a1e3608 (diff) | |
download | tor-648af0438d4a293f12b649afc47dd947a7666a05.tar.gz tor-648af0438d4a293f12b649afc47dd947a7666a05.zip |
Also, add an assertion to assign_onionskin_to_cpuworker
Diffstat (limited to 'src/or/cpuworker.c')
-rw-r--r-- | src/or/cpuworker.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/cpuworker.c b/src/or/cpuworker.c index 588eae9fc8..e3781ada1c 100644 --- a/src/or/cpuworker.c +++ b/src/or/cpuworker.c @@ -488,6 +488,8 @@ assign_onionskin_to_cpuworker(or_circuit_t *circ, cpuworker_request_t req; int should_time; + tor_assert(threadpool); + if (!circ->p_chan) { log_info(LD_OR,"circ->p_chan gone. Failing circ."); tor_free(onionskin); |