diff options
Diffstat (limited to 'src/command_table.lua')
-rw-r--r-- | src/command_table.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/command_table.lua b/src/command_table.lua index e3e6b42..e747729 100644 --- a/src/command_table.lua +++ b/src/command_table.lua @@ -1,15 +1,15 @@ -- -- gcsd -- --- gcsd the generic command sequencer daemon can be used to serialize +-- gcsd the generic command sequencer daemon can be used to serialize -- commands sent over various paralell communication channels to a -- single command output. It can be seen as a multiplexer for any -- kind of communication between a single resource and various clients -- which want to submit commands to it or query information from it. --- gcsd is written in C and Lua. The goal is to provide an easy to +-- gcsd is written in C and Lua. The goal is to provide an easy to -- understand high level API based on Lua which can be used to -- implement the business logic of the so formed multiplexer daemon. --- +-- -- -- Copyright (C) 2009-2010 Markus Grueneis <gimpf@spreadspace.org> -- Christian Pointner <equinox@spreadspace.org> @@ -60,6 +60,6 @@ function command_table:dispatch(command_buffer) end end until (not had_match) - + return string.sub(command_buffer, init + 1) end |