diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-08-07 12:24:30 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-08-07 12:24:30 +0000 |
commit | 6ff82a0142472a1eabca9db2fcbebfb73ae5c8b2 (patch) | |
tree | d98448f12d1a321b6f75575049249908b024ca21 /libs/sgi-cgi/luasrc | |
parent | 12bda8b969a2f0c0f89fbd720d83c883c976f526 (diff) |
libs/sgi-cgi: fix udata vs. string in cgi backend
Diffstat (limited to 'libs/sgi-cgi/luasrc')
-rw-r--r-- | libs/sgi-cgi/luasrc/sgi/cgi.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/sgi-cgi/luasrc/sgi/cgi.lua b/libs/sgi-cgi/luasrc/sgi/cgi.lua index f2c6f6957..b86722d73 100644 --- 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(data1) + io.write(tostring(data1 or "")) elseif id == 5 then io.flush() io.close() |