summaryrefslogtreecommitdiffhomepage
path: root/libs/sgi-cgi
diff options
context:
space:
mode:
Diffstat (limited to 'libs/sgi-cgi')
-rw-r--r--libs/sgi-cgi/luasrc/sgi/cgi.lua2
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()