From: Jo-Philipp Wich Date: Thu, 24 Jul 2008 15:25:52 +0000 (+0000) Subject: * luci/libs/core: Small translation fix for get_bytecode() X-Git-Tag: 0.8.0~579 X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=184b6e6dcc6ae94319dbcbc69409bdae47210cfc * luci/libs/core: Small translation fix for get_bytecode() --- diff --git a/libs/core/luasrc/util.lua b/libs/core/luasrc/util.lua index 31e3b10a3..700a4128f 100644 --- a/libs/core/luasrc/util.lua +++ b/libs/core/luasrc/util.lua @@ -440,8 +440,8 @@ end --- Return the current runtime bytecode of the given data. The byte code -- will be stripped before it is returned if the given value is a function. --- @param val Function value to return as bytecode --- @return String value containing the bytecode of the given function +-- @param val Value to return as bytecode +-- @return String value containing the bytecode of the given data function get_bytecode(val) if type(val) == "function" then local code = string.dump(val)