Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(969)

Unified Diff: net/dns/dns_transaction.cc

Issue 10830338: [net/dns] Don't conflate all unhandled errors into DNS_SERVER_FAILED. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/dns/dns_transaction.cc
diff --git a/net/dns/dns_transaction.cc b/net/dns/dns_transaction.cc
index 0d07b523c305a7c570361aa4d813b35da376b42a..00d8064f6e8d6f263423659519e9691a99e406aa 100644
--- a/net/dns/dns_transaction.cc
+++ b/net/dns/dns_transaction.cc
@@ -511,7 +511,7 @@ class DnsTransactionImpl : public DnsTransaction,
if (MoreAttemptsAllowed()) {
result = MakeAttempt();
} else {
- return AttemptResult(ERR_DNS_SERVER_FAILED, NULL);
+ return AttemptResult(result.rv, NULL);
}
break;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698