diff options
author | June McEnroe <june@causal.agency> | 2019-10-23 03:00:00 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-10-23 03:00:00 -0400 |
commit | e4f6fad70dc25c80f3c11ee52d83ea37b20620e9 (patch) | |
tree | cd036f0149cc737bcf1fa25487fcbba575404b3d /state.c | |
parent | Add dynamic poll list (diff) | |
download | pounce-e4f6fad70dc25c80f3c11ee52d83ea37b20620e9.tar.gz pounce-e4f6fad70dc25c80f3c11ee52d83ea37b20620e9.zip |
Fix rest parsing
Diffstat (limited to '')
-rw-r--r-- | state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/state.c b/state.c index da777da..ecbf368 100644 --- a/state.c +++ b/state.c @@ -136,7 +136,7 @@ void stateParse(char *line) { cmd.name = strsep(&line, " "); for (size_t i = 0; line && i < ParamCap; ++i) { if (line[0] == ':') { - cmd.params[i] = line; + cmd.params[i] = &line[1]; break; } cmd.params[i] = strsep(&line, " "); |