projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
12bda8b
)
libs/sgi-cgi: fix udata vs. string in cgi backend
author
Jo-Philipp Wich
<jow@openwrt.org>
Fri, 7 Aug 2009 12:24:30 +0000
(12:24 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Fri, 7 Aug 2009 12:24:30 +0000
(12:24 +0000)
libs/sgi-cgi/luasrc/sgi/cgi.lua
patch
|
blob
|
history
diff --git
a/libs/sgi-cgi/luasrc/sgi/cgi.lua
b/libs/sgi-cgi/luasrc/sgi/cgi.lua
index
f2c6f69
..
b86722d
100644
(file)
--- a/
libs/sgi-cgi/luasrc/sgi/cgi.lua
+++ b/
libs/sgi-cgi/luasrc/sgi/cgi.lua
@@
-80,7
+80,7
@@
function run()
io.write(hcache)
io.write("\r\n")
elseif id == 4 then
io.write(hcache)
io.write("\r\n")
elseif id == 4 then
- io.write(
data1
)
+ io.write(
tostring(data1 or "")
)
elseif id == 5 then
io.flush()
io.close()
elseif id == 5 then
io.flush()
io.close()