projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3efff02
)
libs/nixio: convert data to string in writeall(), this is required for numeric and...
author
Jo-Philipp Wich
<jow@openwrt.org>
Sun, 26 Jul 2009 22:32:13 +0000
(22:32 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Sun, 26 Jul 2009 22:32:13 +0000
(22:32 +0000)
libs/nixio/lua/nixio/util.lua
patch
|
blob
|
history
diff --git
a/libs/nixio/lua/nixio/util.lua
b/libs/nixio/lua/nixio/util.lua
index ecefb4c97f0ca606665c43cb6ffb97df8462ecb0..bce4ce25e1c05e88c45d9fc7243dc27f90ab3dd8 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