From f2a24d6e58df45229015f6d32fcf95f87faea701 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Wed, 11 Feb 2009 17:22:40 +0000 Subject: [PATCH] Better comments for some confusing-to-me code. svn:r1117 --- evdns.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/evdns.c b/evdns.c index ff3b6e24..1c30972e 100644 --- a/evdns.c +++ b/evdns.c @@ -2026,9 +2026,10 @@ evdns_request_transmit(struct evdns_request *req) { nameserver_write_waiting(req->ns, 1); return 1; case 2: - /* failed in some other way */ + /* failed to transmit the request entirely. */ retcode = 1; - /* fall through */ + /* fall through: we'll set a timeout, which will time out, + * and make us retransmit the request anyway. */ default: /* all ok */ log(EVDNS_LOG_DEBUG, -- 2.40.0