Browse Source

Also, add an assertion to assign_onionskin_to_cpuworker

Nick Mathewson 9 years ago
parent
commit
648af0438d
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/or/cpuworker.c

+ 2 - 0
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);