libs/sgi-cgi: fix udata vs. string in cgi backend

This commit is contained in:
Jo-Philipp Wich 2009-08-07 12:24:30 +00:00
parent 12bda8b969
commit 6ff82a0142

View file

@ -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()