about summary refs log tree commit diff
path: root/src/libutil
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-07-28T12·56+0200
committerEelco Dolstra <edolstra@gmail.com>2017-07-28T12·56+0200
commitaf4689f9e9c846f8b8d902b05cabad88427d46b6 (patch)
tree3d446a0bf95682f738523413b850f7b8509e5be6 /src/libutil
parent7480f4f9a478d294eaa095c101df7c0543c1fd71 (diff)
nix-prefetch-url: Fix regression in hash printing
Diffstat (limited to 'src/libutil')
-rw-r--r--src/libutil/hash.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/hash.cc b/src/libutil/hash.cc
index 817ddc0b8bc9..e16c3b6ea93f 100644
--- a/src/libutil/hash.cc
+++ b/src/libutil/hash.cc
@@ -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);
 }