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
68ba3033
Commit
68ba3033
authored
May 03, 2005
by
Roger Dingledine
Browse files
fix compile error if you're not multithreaded
svn:r4177
parent
6ea83926
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/or/dns.c
View file @
68ba3033
...
...
@@ -722,7 +722,7 @@ static int dnsworker_main(void *data) {
fd
=
fdarray
[
1
];
/* this side is ours */
#ifndef TOR_IS_MULTITHREADED
tor_close_socket
(
fdarray
[
0
]);
/* this is the side of the socketpair the parent uses */
connection
_free_all
(
1
);
/* so the child doesn't hold the parent's fd's open */
tor
_free_all
(
1
);
/* so the child doesn't hold the parent's fd's open */
handle_signals
(
0
);
/* ignore interrupts from the keyboard, etc */
#endif
tor_free
(
data
);
...
...
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