summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2016-11-01 11:27:56 +0000
committerintrigeri <intrigeri@boum.org>2016-11-01 11:28:32 +0000
commit3f6aa52681ebe687b3f77218437a12026f347c90 (patch)
tree6df996b8d1ef9e0a288f4202bb360cd9ec255d3a
parentdfdd5fe9b995bdf2336f458d0d6f11fe025d19a7 (diff)
Update comment to match code.
-rw-r--r--tails-download-and-verify/lib/downloader.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/tails-download-and-verify/lib/downloader.js b/tails-download-and-verify/lib/downloader.js
index 9dec00e..a84e667 100644
--- a/tails-download-and-verify/lib/downloader.js
+++ b/tails-download-and-verify/lib/downloader.js
@@ -379,8 +379,8 @@ function setup(contentURL) {
blob.mirrors = mirrors;
}
- // check if any of the mirror urls matches with download.source.url
- // if yes, reassign the matching url to blob.url so that we can continue the download.
+ // check if any of the mirror urls matches with curDownload.source.url
+ // if yes, assign curDownload.source.url to blob.url so that we can continue the download.
if (blob.mirrors) {
if (curDownload && compareUrlToMirrors(curDownload.source.url, blob.mirrors, blob.url_suffix) !== false) {
blob.url = curDownload.source.url;