diff options
author | Steven Barth <steven@midlink.org> | 2008-06-01 12:22:47 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-06-01 12:22:47 +0000 |
commit | e1c469e6341010a0831f389e609648978026590d (patch) | |
tree | 3e1c078f050c9c562013dba4350aaab7d038a299 /libs | |
parent | b454395a8da4013aff2ecd64cd7eafc01fc6a5a2 (diff) |
* Added OpenWRT package for english translation (incomplete)
* libs/core: Fixed indentation of luci.util.strip_bytecode
Diffstat (limited to 'libs')
-rw-r--r-- | libs/core/luasrc/util.lua | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/libs/core/luasrc/util.lua b/libs/core/luasrc/util.lua index 0a30b163a..d79f93b1d 100644 --- a/libs/core/luasrc/util.lua +++ b/libs/core/luasrc/util.lua @@ -200,16 +200,16 @@ function strip_bytecode(dump) val = val * 256 + dump:byte(i + n - 1) end return val, i + l - end + end else - subint = function(dump, i, l) - local val = 0 - for n = 1, l, 1 do - val = val * 256 + dump:byte(i + n - 1) - end - return val, i + l - end - end + subint = function(dump, i, l) + local val = 0 + for n = 1, l, 1 do + val = val * 256 + dump:byte(i + n - 1) + end + return val, i + l + end + end local strip_function strip_function = function(dump) |