diff options
| author | Benoit Germain <bnt.germain@gmail.com> | 2012-12-14 09:16:41 +0100 |
|---|---|---|
| committer | Benoit Germain <bnt.germain@gmail.com> | 2012-12-14 09:16:41 +0100 |
| commit | 5107a671f9b47f1576412f4898457edf98384acd (patch) | |
| tree | 2498190aa5dad49dd35594514b1ec94412cf866a | |
| parent | abb32c96c0d33ebc0875bae321651f698bc66ab5 (diff) | |
| download | lanes-5107a671f9b47f1576412f4898457edf98384acd.tar.gz lanes-5107a671f9b47f1576412f4898457edf98384acd.tar.bz2 lanes-5107a671f9b47f1576412f4898457edf98384acd.zip | |
Fix lanes.timers()
| -rw-r--r-- | src/lanes.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lanes.lua b/src/lanes.lua index b39e31f..26237d5 100644 --- a/src/lanes.lua +++ b/src/lanes.lua | |||
| @@ -509,8 +509,9 @@ if first_time then | |||
| 509 | elseif key == TGW_QUERY then | 509 | elseif key == TGW_QUERY then |
| 510 | if what == "get_timers" then | 510 | if what == "get_timers" then |
| 511 | timer_gateway:send( TGW_REPLY, get_timers()) | 511 | timer_gateway:send( TGW_REPLY, get_timers()) |
| 512 | else | ||
| 513 | timer_gateway:send( TGW_REPLY, "unknown query " .. what) | ||
| 512 | end | 514 | end |
| 513 | timer_gateway:send( TGW_REPLY, "unknown query " .. what) | ||
| 514 | --elseif secs == nil then -- got no value while block-waiting? | 515 | --elseif secs == nil then -- got no value while block-waiting? |
| 515 | -- WR( "timer lane: no linda, aborted?") | 516 | -- WR( "timer lane: no linda, aborted?") |
| 516 | end | 517 | end |
