aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-09-25 00:53:15 +0200
committerMax Kellermann <max@duempel.org>2009-09-25 00:53:15 +0200
commit7542ec4f2028b5b154dd1f1777a1d07b585e4b52 (patch)
tree7421963bf02adcda8f46cd9319c2bfbb6121a968 /src/command.c
parent89ba540e6d76aae0a594daebb9db8524ea3ed528 (diff)
downloadmpd-7542ec4f2028b5b154dd1f1777a1d07b585e4b52.tar.gz
mpd-7542ec4f2028b5b154dd1f1777a1d07b585e4b52.tar.xz
mpd-7542ec4f2028b5b154dd1f1777a1d07b585e4b52.zip
command: relax requirements for unquoted words
Allow most printable characters in unquoted words. The tokenizer patch introduced very strict requirements for command parameters - those were undocumented, and we're reverting the strictness now.
Diffstat (limited to 'src/command.c')
-rw-r--r--src/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command.c b/src/command.c
index 7c2743975..f69bdf632 100644
--- a/src/command.c
+++ b/src/command.c
@@ -1959,7 +1959,7 @@ command_process(struct client *client, unsigned num, char *line)
while (argc < (int)G_N_ELEMENTS(argv) &&
(argv[argc] =
- tokenizer_next_word_or_string(&line, &error)) != NULL)
+ tokenizer_next_param(&line, &error)) != NULL)
++argc;
/* some error checks; we have to set current_command because