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

Unified Diff: multi_range_http_fetcher.cc

Issue 6693047: AU: HttpFetcher: Fix segfault with multi fetcher and small transfers (Closed) Base URL: http://git.chromium.org/git/update_engine.git@master
Patch Set: Created 9 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 | « http_fetcher.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: multi_range_http_fetcher.cc
diff --git a/multi_range_http_fetcher.cc b/multi_range_http_fetcher.cc
index 16d2c09e129452b07edd05bd539ae18025dc35f9..8b3d8d7a177ad6666c1c623371d53dde08d2ddc1 100644
--- a/multi_range_http_fetcher.cc
+++ b/multi_range_http_fetcher.cc
@@ -123,7 +123,7 @@ void MultiRangeHTTPFetcher::TransferEnded(HttpFetcher* fetcher,
successful = true;
}
- // If we have another fetcher, use that.
+ // If we have another transfer, do that.
if (current_index_ + 1 < ranges_.size()) {
current_index_++;
LOG(INFO) << "Starting next transfer (" << current_index_ << ").";
« no previous file with comments | « http_fetcher.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698