projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
(no commit message)
[project/luci.git]
/
core
/
src
/
ffluci
/
util.lua
diff --git
a/core/src/ffluci/util.lua
b/core/src/ffluci/util.lua
index
b76278d
..
9e3c7f2
100644
(file)
--- a/
core/src/ffluci/util.lua
+++ b/
core/src/ffluci/util.lua
@@
-170,8
+170,8
@@
function split(str, pat, max, regex)
end
-- Removes whitespace from beginning and end of a string
-function trim(str
ing
)
- local s = str
ing
:gsub("^%s*(.-)%s*$", "%1")
+function trim(str)
+ local s = str:gsub("^%s*(.-)%s*$", "%1")
return s
end