diff options
Diffstat (limited to 'src/or/dns.c')
-rw-r--r-- | src/or/dns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/dns.c b/src/or/dns.c index 080f041eca..64a6bfb8a4 100644 --- a/src/or/dns.c +++ b/src/or/dns.c @@ -382,7 +382,7 @@ static int dns_spawn_worker(void) { return -1; } - fcntl(fd[0], F_SETFL, O_NONBLOCK); /* set it to non-blocking */ + set_socket_nonblocking(fd[0]); /* set up conn so it's got all the data we need to remember */ conn->receiver_bucket = -1; /* non-cell connections don't do receiver buckets */ |