Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
Core
Tor
Commits
84f5cb74
Commit
84f5cb74
authored
10 years ago
by
David Goulet
Browse files
Options
Downloads
Patches
Plain Diff
Fix: remove whitespace and update a comment in cpuworker.c
Signed-off-by:
David Goulet
<
dgoulet@ev0ke.net
>
parent
f52ac5be
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/or/cpuworker.c
+3
-4
3 additions, 4 deletions
src/or/cpuworker.c
with
3 additions
and
4 deletions
src/or/cpuworker.c
+
3
−
4
View file @
84f5cb74
...
...
@@ -171,9 +171,8 @@ update_state_threadfn(void *state_, void *work_)
return
WQ_RPL_REPLY
;
}
/** Called when the onion key has changed and we need to spawn new
* cpuworkers. Close all currently idle cpuworkers, and mark the last
* rotation time as now.
/** Called when the onion key has changed so update all CPU worker(s) with
* new function pointers with which a new state will be generated.
*/
void
cpuworkers_rotate_keyinfo
(
void
)
...
...
@@ -336,7 +335,7 @@ cpuworker_onion_handshake_replyfn(void *work_)
"Unpacking cpuworker reply %p, circ=%p, success=%d"
,
job
,
circ
,
rpl
.
success
);
if
(
circ
->
base_
.
magic
==
DEAD_CIRCUIT_MAGIC
)
{
if
(
circ
->
base_
.
magic
==
DEAD_CIRCUIT_MAGIC
)
{
/* The circuit was supposed to get freed while the reply was
* pending. Instead, it got left for us to free so that we wouldn't freak
* out when the job->circ field wound up pointing to nothing. */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment