summaryrefslogtreecommitdiff
path: root/src/or/dns.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2003-08-12 07:43:15 +0000
committerNick Mathewson <nickm@torproject.org>2003-08-12 07:43:15 +0000
commit2cb4f7a473a35792f4d7a951ac43bfab79abebec (patch)
treef7bcfa4e86e3d93878181c7e580eb25f6c4a3132 /src/or/dns.c
parent5d9cfb71649f15db09290a7c390a0f9d95b52548 (diff)
downloadtor-2cb4f7a473a35792f4d7a951ac43bfab79abebec.tar.gz
tor-2cb4f7a473a35792f4d7a951ac43bfab79abebec.zip
Adopt socketpair implementation from perl. For now, always use it.
svn:r389
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);
}