diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2020-06-02 14:31:18 +0000 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2020-06-02 14:31:18 +0000 |
commit | 1b6461f671b5ad8475c6f30f82d8fc9422746508 (patch) | |
tree | ab3d3831ffe979f3673fd1071c59f33fb680933e /src/libfetchers/tarball.cc | |
parent | efcd30da891eccdb3518e9c07afc6f907e9ac5e6 (diff) | |
parent | bfa1acd85c4d15c5ea95337138f47672659e2a9e (diff) |
Merge remote-tracking branch 'upstream/master' into validPathInfo-ca-proper-datatype
Diffstat (limited to 'src/libfetchers/tarball.cc')
-rw-r--r-- | src/libfetchers/tarball.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libfetchers/tarball.cc b/src/libfetchers/tarball.cc index 8efb8d68c..e8e5231d2 100644 --- a/src/libfetchers/tarball.cc +++ b/src/libfetchers/tarball.cc @@ -74,7 +74,8 @@ DownloadFileResult downloadFile( .method = FileIngestionMethod::Flat, .hash = hash, }; - store->addToStore(info, sink.s, NoRepair, NoCheckSigs); + auto source = StringSource { *sink.s }; + store->addToStore(info, source, NoRepair, NoCheckSigs); storePath = std::move(info.path); } |