From 6ff82a0142472a1eabca9db2fcbebfb73ae5c8b2 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 7 Aug 2009 12:24:30 +0000 Subject: libs/sgi-cgi: fix udata vs. string in cgi backend --- libs/sgi-cgi/luasrc/sgi/cgi.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/sgi-cgi/luasrc') 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() -- cgit v1.2.3