[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] Adopt socketpair implementation from perl. For now, always ...
- To: or-cvs@freehaven.net
- Subject: [or-cvs] Adopt socketpair implementation from perl. For now, always ...
- From: nickm@seul.org (Nick Mathewson)
- Date: Tue, 12 Aug 2003 03:43:17 -0400 (EDT)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Tue, 12 Aug 2003 03:43:40 -0400
- Reply-to: or-dev@freehaven.net
- Sender: owner-or-cvs@freehaven.net
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);
}