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

Unified Diff: net/server/web_socket.cc

Issue 1099453002: base: Simplify the construction of MD5Digest. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: REBASE Created 5 years, 8 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 | « net/http/http_auth_handler_ntlm_portable.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/server/web_socket.cc
diff --git a/net/server/web_socket.cc b/net/server/web_socket.cc
index e5d1cb7b88ee5316d1bcf7f142acee839a9e8352..e78015f463556acebbabf67eeb33eccccace1fd0 100644
--- a/net/server/web_socket.cc
+++ b/net/server/web_socket.cc
@@ -81,7 +81,7 @@ class WebSocketHixie76 : public net::WebSocket {
origin.c_str(),
location.c_str()));
server_->SendRaw(connection_->id(),
- std::string(reinterpret_cast<char*>(digest.a), 16));
+ std::string(reinterpret_cast<char*>(digest), 16));
}
ParseResult Read(std::string* message) override {
« no previous file with comments | « net/http/http_auth_handler_ntlm_portable.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698