diff options
author | Nikola Knezevic <nikola@knezevic.ch> | 2020-04-06 13:30:45 +0200 |
---|---|---|
committer | Nikola Knezevic <nikola@knezevic.ch> | 2020-04-08 22:26:57 +0200 |
commit | 65ef57e0cbded52652510355304303a7b71586af (patch) | |
tree | 45c00bd01bc4060c34b3ee488de19e639ad843a5 /src/nix-prefetch-url | |
parent | 5449ff7d8aaa8dce6d6f7e47c89e04d914f16cff (diff) |
DownloadRequest -> DataTransferRequest
Diffstat (limited to 'src/nix-prefetch-url')
-rw-r--r-- | src/nix-prefetch-url/nix-prefetch-url.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix-prefetch-url/nix-prefetch-url.cc b/src/nix-prefetch-url/nix-prefetch-url.cc index 2b9254659..bfd65da98 100644 --- a/src/nix-prefetch-url/nix-prefetch-url.cc +++ b/src/nix-prefetch-url/nix-prefetch-url.cc @@ -180,7 +180,7 @@ static int _main(int argc, char * * argv) FdSink sink(fd.get()); - DownloadRequest req(actualUri); + DataTransferRequest req(actualUri); req.decompress = false; getDownloader()->download(std::move(req), sink); } |