diff options
author | Lennart Poettering <lennart@poettering.net> | 2007-05-29 17:24:48 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2007-05-29 17:24:48 +0000 |
commit | 1e12e0ee8dfdda1632b9c082aba6fc1956813a5b (patch) | |
tree | e87c4f6f4f260510bf753b30883cbf841504041b /src/pulsecore/cli-command.c | |
parent | e4d63d0d8026446aec99ef8390554c5afd87cef4 (diff) |
Kill spaces on EOL
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1465 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/pulsecore/cli-command.c')
-rw-r--r-- | src/pulsecore/cli-command.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pulsecore/cli-command.c b/src/pulsecore/cli-command.c index 4dbf3afa..6989069d 100644 --- a/src/pulsecore/cli-command.c +++ b/src/pulsecore/cli-command.c @@ -1033,10 +1033,10 @@ int pa_cli_command_execute_line_stateful(pa_core *c, const char *s, pa_strbuf *b if (ifstate && *ifstate == IFSTATE_FALSE) return 0; - + l = strcspn(cs, whitespace); - + for (command = commands; command->name; command++) if (strlen(command->name) == l && !strncmp(cs, command->name, l)) { int ret; @@ -1071,7 +1071,7 @@ int pa_cli_command_execute_file(pa_core *c, const char *fn, pa_strbuf *buf, int FILE *f = NULL; int ifstate = IFSTATE_NONE; int ret = -1; - + assert(c); assert(fn); assert(buf); @@ -1103,7 +1103,7 @@ fail: int pa_cli_command_execute(pa_core *c, const char *s, pa_strbuf *buf, int *fail) { const char *p; int ifstate = IFSTATE_NONE; - + assert(c); assert(s); assert(buf); |