aboutsummaryrefslogtreecommitdiff
path: root/src/linda.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/linda.cpp')
-rw-r--r--src/linda.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/linda.cpp b/src/linda.cpp
index 2a31799..f1a99fd 100644
--- a/src/linda.cpp
+++ b/src/linda.cpp
@@ -461,10 +461,7 @@ LUAG_FUNC(linda_receive)
461 keeper_api_t _selected_keeper_receive{ nullptr }; 461 keeper_api_t _selected_keeper_receive{ nullptr };
462 int _expected_pushed_min{ 0 }, _expected_pushed_max{ 0 }; 462 int _expected_pushed_min{ 0 }, _expected_pushed_max{ 0 };
463 // are we in batched mode? 463 // are we in batched mode?
464 kLindaBatched.pushKey(L_); 464 if (kLindaBatched.equals(L_, -1)) {
465 int const _is_batched{ lua501_equal(L_, _key_i, -1) };
466 lua_pop(L_, 1);
467 if (_is_batched) {
468 // no need to pass linda.batched in the keeper state 465 // no need to pass linda.batched in the keeper state
469 ++_key_i; 466 ++_key_i;
470 // make sure the keys are of a valid type 467 // make sure the keys are of a valid type