diff options
author | David Walter Seikel | 2016-01-17 16:39:08 +1000 |
---|---|---|
committer | David Walter Seikel | 2016-01-17 16:39:08 +1000 |
commit | 78c107040170734fe8452eeee3a3284767634c33 (patch) | |
tree | 31ca89d66900424a5a1909476f545992373aa0bb /src/libraries | |
parent | Updated build instructions. (diff) | |
download | SledjHamr-78c107040170734fe8452eeee3a3284767634c33.zip SledjHamr-78c107040170734fe8452eeee3a3284767634c33.tar.gz SledjHamr-78c107040170734fe8452eeee3a3284767634c33.tar.bz2 SledjHamr-78c107040170734fe8452eeee3a3284767634c33.tar.xz |
Catch "return ..." as well as "function(...".
Diffstat (limited to 'src/libraries')
-rw-r--r-- | src/libraries/SledjHamr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libraries/SledjHamr.c b/src/libraries/SledjHamr.c index 2fb9019..dff80ee 100644 --- a/src/libraries/SledjHamr.c +++ b/src/libraries/SledjHamr.c | |||
@@ -198,6 +198,8 @@ static Eina_Bool parseStream(void *data, int type, void *evData, int evSize, voi | |||
198 | ext[0] = '\0'; | 198 | ext[0] = '\0'; |
199 | command = ext + 1; | 199 | command = ext + 1; |
200 | ext = index(command, '('); | 200 | ext = index(command, '('); |
201 | if (NULL == ext) | ||
202 | ext = index(command, ' '); | ||
201 | if (ext) | 203 | if (ext) |
202 | { | 204 | { |
203 | streamParser func = eina_hash_find(conn->commands, command); | 205 | streamParser func = eina_hash_find(conn->commands, command); |