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

Unified Diff: net/http/http_stream_parser.cc

Issue 2448193007: Fix a redundant expression (Closed)
Patch Set: Created 4 years, 2 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/http/http_stream_parser.cc
diff --git a/net/http/http_stream_parser.cc b/net/http/http_stream_parser.cc
index f8e5c0f00f44866245c2a6ccb9752544e457784d..3da88913df9cdf10c07ae3b0aec6bf5ac952adcc 100644
--- a/net/http/http_stream_parser.cc
+++ b/net/http/http_stream_parser.cc
@@ -1230,8 +1230,7 @@ void HttpStreamParser::ValidateStatusLine(const std::string& status_line) {
}
bool HttpStreamParser::SendRequestBuffersEmpty() {
- return request_headers_ == nullptr && request_body_send_buf_ == nullptr &&
- request_body_send_buf_ == nullptr;
Peter Kasting 2016/10/27 22:31:36 Based on line 610, are you sure this wasn't intend
hans 2016/10/27 22:39:09 The name suggests it's intending to check if *send
maksims (do not use this acc) 2016/10/28 04:53:09 Oh, that was a typo. It should have been a *read*
+ return request_headers_ == nullptr && request_body_send_buf_ == nullptr;
}
} // namespace net
« 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