projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c997520
)
* libs/core: Made luci.util.strip_bytecode forward-compatible to upcoming OpenWRT...
author
Steven Barth
<steven@midlink.org>
Sun, 29 Jun 2008 09:56:38 +0000
(09:56 +0000)
committer
Steven Barth
<steven@midlink.org>
Sun, 29 Jun 2008 09:56:38 +0000
(09:56 +0000)
libs/core/luasrc/util.lua
patch
|
blob
|
history
diff --git
a/libs/core/luasrc/util.lua
b/libs/core/luasrc/util.lua
index 9f1d050e7c43f766ae6fc7d820358d033dfa4be6..76e382b45ac536c2ec2a9552f2be2d5e87c6624b 100644
(file)
--- a/
libs/core/luasrc/util.lua
+++ b/
libs/core/luasrc/util.lua
@@
-234,7
+234,7
@@
function strip_bytecode(dump)
offset = offset + size + subint(dump, offset, size)
elseif t == 3 then
offset = offset + num
- elseif t == 254 then
+ elseif t == 254
or t == 9
then
offset = offset + lnum
end
end