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

Unified Diff: net/socket/nss_ssl_util.cc

Issue 216573004: Rename pr_error to err_name in the nss log added in r259205. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 9 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/socket/nss_ssl_util.cc
diff --git a/net/socket/nss_ssl_util.cc b/net/socket/nss_ssl_util.cc
index 4811e46f3934ed701f25b91c08769c2c090485cf..7b068545a55290b6368816a992cca3f7161d720e 100644
--- a/net/socket/nss_ssl_util.cc
+++ b/net/socket/nss_ssl_util.cc
@@ -357,15 +357,15 @@ int MapNSSError(PRErrorCode err) {
return ERR_SSL_INAPPROPRIATE_FALLBACK;
default: {
- const char* pr_error = PR_ErrorToName(err);
- if (pr_error == NULL)
- pr_error = "";
+ const char* err_name = PR_ErrorToName(err);
+ if (err_name == NULL)
+ err_name = "";
if (IS_SSL_ERROR(err)) {
- LOG(WARNING) << "Unknown SSL error " << err << " (" << pr_error << ")"
+ LOG(WARNING) << "Unknown SSL error " << err << " (" << err_name << ")"
<< " mapped to net::ERR_SSL_PROTOCOL_ERROR";
return ERR_SSL_PROTOCOL_ERROR;
}
- LOG(WARNING) << "Unknown error " << err << " (" << pr_error << ")"
+ LOG(WARNING) << "Unknown error " << err << " (" << err_name << ")"
<< " mapped to net::ERR_FAILED";
return ERR_FAILED;
}
« 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