libs/nixio: convert data to string in writeall(), this is required for numeric and udata arguments

This commit is contained in:
Jo-Philipp Wich 2009-07-26 22:32:13 +00:00
parent 3efff022f2
commit 136b7253b1

View file

@ -79,6 +79,7 @@ end
meta.recvall = meta.readall
function meta.writeall(self, data)
data = tostring(data)
local sent, code, msg = self:write(data)
if not sent then