* Last API changes before 0.4 API softfreeze
[project/luci.git] / core / src / ffluci / util.lua
index b76278d..9e3c7f2 100644 (file)
@@ -170,8 +170,8 @@ function split(str, pat, max, regex)
 end
 
 -- Removes whitespace from beginning and end of a string
-function trim(string)
-       local s = string:gsub("^%s*(.-)%s*$", "%1")
+function trim(str)
+       local s = str:gsub("^%s*(.-)%s*$", "%1")
        return s
 end