projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libs/nixio: convert data to string in writeall(), this is required for numeric and...
[project/luci.git]
/
libs
/
nixio
/
lua
/
nixio
/
util.lua
diff --git
a/libs/nixio/lua/nixio/util.lua
b/libs/nixio/lua/nixio/util.lua
index
ecefb4c
..
bce4ce2
100644
(file)
--- 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