Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
David Goulet
Tor
Commits
f2945754
Commit
f2945754
authored
Aug 11, 2006
by
Roger Dingledine
Browse files
fix funny-looking assignment that crashes unit tests
svn:r7027
parent
5647e5c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/or/config.c
View file @
f2945754
...
...
@@ -449,7 +449,7 @@ static or_state_t *global_state = NULL;
static
void
*
config_alloc
(
config_format_t
*
fmt
)
{
void
*
opts
=
opts
=
tor_malloc_zero
(
fmt
->
size
);
void
*
opts
=
tor_malloc_zero
(
fmt
->
size
);
*
(
uint32_t
*
)
STRUCT_VAR_P
(
opts
,
fmt
->
magic_offset
)
=
fmt
->
magic
;
CHECK
(
fmt
,
opts
);
return
opts
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment