libs/nixio: convert data to string in writeall(), this is required for numeric and udata arguments
This commit is contained in:
parent
3efff022f2
commit
136b7253b1
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue