aboutsummaryrefslogtreecommitdiff
path: root/src/or/dns.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/dns.c')
-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 8e735aa1ae..643c61cc6d 100644
--- a/src/or/dns.c
+++ b/src/or/dns.c
@@ -361,7 +361,7 @@ static int dns_spawn_worker(void) {
int fd[2];
connection_t *conn;
- if(socketpair(AF_UNIX, SOCK_STREAM, 0, fd) < 0) {
+ if(tor_socketpair(AF_UNIX, SOCK_STREAM, 0, fd) < 0) {
perror("socketpair");
exit(1);
}