Skip to content

Commit

Permalink
downloader: support pkgs without digest
Browse files Browse the repository at this point in the history
Closes #94
  • Loading branch information
blastrock committed Jul 9, 2018
1 parent 31ef7ab commit e26b46c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/downloader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ void Downloader::do_download(const DownloadItem& item)
item.content.c_str(),
item.url.c_str(),
item.rif.empty() ? nullptr : item.rif.data(),
item.digest.data()))
item.digest.empty() ? nullptr : item.digest.data()))
return;
LOG("download of %s completed!", item.name.c_str());
switch (item.type)
Expand Down

0 comments on commit e26b46c

Please sign in to comment.