projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* Minor cleanups
[project/luci.git]
/
libs
/
core
/
luasrc
/
util.lua
diff --git
a/libs/core/luasrc/util.lua
b/libs/core/luasrc/util.lua
index
fda4563
..
3a0b2fb
100644
(file)
--- a/
libs/core/luasrc/util.lua
+++ b/
libs/core/luasrc/util.lua
@@
-269,7
+269,7
@@
function threadlocal()
local c = coroutine.running()
local thread = coxpt[c] or c or 0
if not rawget(self, thread) then
- r
awset(self, thread, {})
+ r
eturn nil
end
return rawget(self, thread)[key]
end