summaryrefslogtreecommitdiff
path: root/src/or/cpuworker.c
diff options
context:
space:
mode:
authorSebastian Hahn <sebastian@torproject.org>2015-02-09 16:11:45 +0100
committerSebastian Hahn <sebastian@torproject.org>2015-02-09 16:13:08 +0100
commit9667b2b88a1f8e9af08704c8bc95b8399a6e4145 (patch)
treedddb2ea5b9edce1494afa624be09da5ee11fb1c8 /src/or/cpuworker.c
parent733751009058a8ff140c15ddd8b022da6a77afdd (diff)
downloadtor-9667b2b88a1f8e9af08704c8bc95b8399a6e4145.tar.gz
tor-9667b2b88a1f8e9af08704c8bc95b8399a6e4145.zip
Add some comments to or_circuit_t.workqueue_entry
These were suggested by dgoulet, thanks!
Diffstat (limited to 'src/or/cpuworker.c')
-rw-r--r--src/or/cpuworker.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/cpuworker.c b/src/or/cpuworker.c
index 7fe2351979..c5e78ed716 100644
--- a/src/or/cpuworker.c
+++ b/src/or/cpuworker.c
@@ -556,6 +556,7 @@ cpuworker_cancel_circ_handshake(or_circuit_t *circ)
tor_free(job);
tor_assert(total_pending_tasks > 0);
--total_pending_tasks;
+ /* if (!job), this is done in cpuworker_onion_handshake_replyfn. */
circ->workqueue_entry = NULL;
}
}