commit | bd93154cc419f8e6f473b56f717caf77555aac28 | [log] [tgz] |
---|---|---|
author | rch <[email protected]> | Mon Mar 23 02:25:39 2015 |
committer | Commit bot <[email protected]> | Mon Mar 23 02:26:22 2015 |
tree | 05c94412dca131c76ee86ff77d97d10717c152d3 | |
parent | b7933ef7b186409633a3acf7d1eee5dff424aeaf [diff] [blame] |
Avoid busy waiting in the SynchronousHostResolver. Use ErrorToShortString when logging net errors to avoid the net:: prefix. Review URL: https://codereview.chromium.org/1025193002 Cr-Commit-Position: refs/heads/master@{#321726}
diff --git a/net/tools/quic/quic_client_bin.cc b/net/tools/quic/quic_client_bin.cc index 752ccd8..234f526 100644 --- a/net/tools/quic/quic_client_bin.cc +++ b/net/tools/quic/quic_client_bin.cc
@@ -180,7 +180,7 @@ int rv = net::tools::SynchronousHostResolver::Resolve(host, &addresses); if (rv != net::OK) { LOG(ERROR) << "Unable to resolve '" << host << "' : " - << net::ErrorToString(rv); + << net::ErrorToShortString(rv); return 1; } ip_addr = addresses[0].address();