nix-prefetch-url: Fix regression in hash printing

This commit is contained in:
Eelco Dolstra 2017-07-28 14:56:39 +02:00
parent 7480f4f9a4
commit af4689f9e9
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -98,7 +98,7 @@ static string printHash32(const Hash & hash)
string printHash16or32(const Hash & hash)
{
return hash.to_string(hash.type == htMD5 ? Base16 : Base32);
return hash.to_string(hash.type == htMD5 ? Base16 : Base32, false);
}