summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-05-03 18:44:20 +0000
committerRoger Dingledine <arma@torproject.org>2005-05-03 18:44:20 +0000
commit68ba303323278b01def671b5b16b9f09b0c9e716 (patch)
tree68ee4e4df7a9201da870cba7a13e4589337a4433
parent6ea839265d5c1f9e03442b79f149644e3f9d997c (diff)
downloadtor-68ba303323278b01def671b5b16b9f09b0c9e716.tar.gz
tor-68ba303323278b01def671b5b16b9f09b0c9e716.zip
fix compile error if you're not multithreaded
svn:r4177
-rw-r--r--src/or/dns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/dns.c b/src/or/dns.c
index b1166c812d..3ed03a2d8f 100644
--- a/src/or/dns.c
+++ b/src/or/dns.c
@@ -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);