From 136b7253b1d9ecc0743a884c422618f8872186d7 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 26 Jul 2009 22:32:13 +0000 Subject: [PATCH] libs/nixio: convert data to string in writeall(), this is required for numeric and udata arguments --- libs/nixio/lua/nixio/util.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/nixio/lua/nixio/util.lua b/libs/nixio/lua/nixio/util.lua index ecefb4c97..bce4ce25e 100644 --- a/libs/nixio/lua/nixio/util.lua +++ b/libs/nixio/lua/nixio/util.lua @@ -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 -- 2.25.1