From: Marek VavruĊĦa Date: Sat, 16 May 2015 16:06:15 +0000 (+0200) Subject: daemon/lua: bad multiplier for GB X-Git-Tag: v1.0.0-beta1~163 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=309c5a8a3528266a07fccb193141442993dc484c;p=thirdparty%2Fknot-resolver.git daemon/lua: bad multiplier for GB --- diff --git a/daemon/lua/sandbox.lua b/daemon/lua/sandbox.lua index 2dd2e417c..9a621f0c0 100644 --- a/daemon/lua/sandbox.lua +++ b/daemon/lua/sandbox.lua @@ -1,7 +1,7 @@ -- Units kB = 1024 -MB = 1024*1024 -GB = 1024*1024 +MB = 1024*kB +GB = 1024*MB -- Time sec = 1000 minute = 60 * sec @@ -146,4 +146,4 @@ function table_print (tt, indent, done) else io.write(tostring(tt) .. "\n") end -end \ No newline at end of file +end