[or-cvs] Adopt socketpair implementation from perl. For now, always ...
Nick Mathewson
nickm at seul.org
Tue Aug 12 07:43:17 UTC 2003
Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/tmp/cvs-serv4331/src/or
Modified Files:
dns.c
Log Message:
Adopt socketpair implementation from perl. For now, always use it.
Index: dns.c
===================================================================
RCS file: /home/or/cvsroot/src/or/dns.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- dns.c 12 Aug 2003 07:35:17 -0000 1.18
+++ dns.c 12 Aug 2003 07:43:15 -0000 1.19
@@ -361,7 +361,7 @@
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);
}
More information about the tor-commits
mailing list