diff options
author | Luis Hector Chavez <lhchavez@google.com> | 2017-07-26 17:35:57 +0000 |
---|---|---|
committer | Luis Hector Chavez <lhchavez@google.com> | 2017-07-26 17:35:57 +0000 |
commit | ffb30ed63b5a186d4ed62c335d16b3b9467785ee (patch) | |
tree | 95fc4d0b25d02282f6de7d6d8158a68bbe3ab16a /test_http_server.cc | |
parent | 663ff4b30b9f629a130ef6d357d462b897d4071e (diff) |
Revert "update_engine: Update libchrome APIS to r456626."
This reverts commit 663ff4b30b9f629a130ef6d357d462b897d4071e.
Reason for revert: Broke the mac_sdk
Exempt-From-Owner-Approval: Fixing mac_sdk
Change-Id: I8184ec58e74d62dca0deafb39340d4bd36bf40e0
Diffstat (limited to 'test_http_server.cc')
-rw-r--r-- | test_http_server.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test_http_server.cc b/test_http_server.cc index 6b2413f0..2955e79f 100644 --- a/test_http_server.cc +++ b/test_http_server.cc @@ -98,9 +98,9 @@ bool ParseRequest(int fd, HttpRequest* request) { request->raw_headers = headers; // Break header into lines. - vector<string> lines = base::SplitStringUsingSubstr( - headers.substr(0, headers.length() - strlen(EOL EOL)), EOL, - base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL); + vector<string> lines; + base::SplitStringUsingSubstr( + headers.substr(0, headers.length() - strlen(EOL EOL)), EOL, &lines); // Decode URL line. vector<string> terms = base::SplitString(lines[0], base::kWhitespaceASCII, |