summaryrefslogtreecommitdiff
path: root/src/or/dns.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2003-10-15 18:28:32 +0000
committerNick Mathewson <nickm@torproject.org>2003-10-15 18:28:32 +0000
commit959b5585a5a520e118d5337ab8e643efbd4fc686 (patch)
tree9b7cdbd6eb6de125c12edd4cd9308663f514df96 /src/or/dns.c
parentba7236ee59e82b2b9d25cc43943e7caeb4713490 (diff)
downloadtor-959b5585a5a520e118d5337ab8e643efbd4fc686.tar.gz
tor-959b5585a5a520e118d5337ab8e643efbd4fc686.zip
Stop using stdout for non-debugging cases
svn:r592
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 50a3492c17..f915ea6c22 100644
--- a/src/or/dns.c
+++ b/src/or/dns.c
@@ -367,7 +367,7 @@ static int spawn_dnsworker(void) {
connection_t *conn;
if(tor_socketpair(AF_UNIX, SOCK_STREAM, 0, fd) < 0) {
- perror("socketpair");
+ log(LOG_ERR, "Couldn't construct socketpair: %s", strerror(errno));
exit(1);
}