summaryrefslogtreecommitdiff
path: root/src/or/dns.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2003-09-14 02:58:50 +0000
committerRoger Dingledine <arma@torproject.org>2003-09-14 02:58:50 +0000
commite585dad88776719bd72faaa7225dbdec230c929a (patch)
treea95dffcb1840c6847c76ff27496f175c1bc50ec2 /src/or/dns.c
parent429fb381f89fe6991837898cb0cb2cf456137edc (diff)
downloadtor-e585dad88776719bd72faaa7225dbdec230c929a.tar.gz
tor-e585dad88776719bd72faaa7225dbdec230c929a.zip
fix the cpuworker circ-had-vanished bug (maybe)
still several (many) tls-related bugs outstanding. svn:r454
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 e3c73576be..20fbd15ae1 100644
--- a/src/or/dns.c
+++ b/src/or/dns.c
@@ -343,7 +343,7 @@ int dnsworker_main(void *data) {
}
assert(question_len > 0);
- if(read(fd, question, question_len) != question_len) {
+ if(read_all(fd, question, question_len) != question_len) {
log(LOG_INFO,"dnsworker_main(): read hostname failed. Exiting.");
spawn_exit();
}