summaryrefslogtreecommitdiff
path: root/src/keeper.lua
diff options
context:
space:
mode:
authorBenoit Germain <bnt.germain@gmail.com>2011-05-14 11:14:15 +0200
committerBenoit Germain <bnt.germain@gmail.com>2011-05-14 11:31:04 +0200
commit513659a6facfc17bc7191c79c4e78d178a076605 (patch)
tree15bb5378f692ed8b13047405cc2ead04f36c9429 /src/keeper.lua
parent323cd4030044dd2f56ecdfddf360360f98f40362 (diff)
downloadlanes-2.2.0.tar.gz
lanes-2.2.0.tar.bz2
lanes-2.2.0.zip
linda:send() raises an error when there is no data to send instead of silently doing nothing.v2.2.0
Diffstat (limited to 'src/keeper.lua')
-rw-r--r--src/keeper.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/keeper.lua b/src/keeper.lua
index 828932e..77bf880 100644
--- a/src/keeper.lua
+++ b/src/keeper.lua
@@ -150,7 +150,6 @@ function send( ud, key, ...)
150 local data, limits = tables( ud) 150 local data, limits = tables( ud)
151 151
152 local n = select( '#', ...) 152 local n = select( '#', ...)
153 if n == 0 then return true end -- nothing to send
154 153
155 -- Initialize queue for all keys that have been used with ':send()' 154 -- Initialize queue for all keys that have been used with ':send()'
156 -- 155 --