util/sha1.lua

changeset 111
75c73ac9d5a6
parent 105
0f2446a9f65f
child 486
6416ea3fff86
--- a/util/sha1.lua	Tue Aug 24 11:16:46 2010 +0100
+++ b/util/sha1.lua	Wed Aug 25 13:19:53 2010 +0100
@@ -132,9 +132,9 @@
 	if hexres then
 		return  hex;
 	else
-		return hex:gsub("..", function (byte)
+		return (hex:gsub("..", function (byte)
 			return string.char(tonumber(byte, 16));
-		end);
+		end));
 	end
 end
 

mercurial