diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-01-05 09:42:13 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-01-05 09:42:13 +0000 |
commit | aaa126da625b7d63440cf5f28e3ad69a5839def2 (patch) | |
tree | 3416f0bb8dbb42646b03a437cea1b3e81e997038 /os | |
parent | 6f470322d0241e1923bd1d83d66f291aff571658 (diff) | |
download | ChibiOS-aaa126da625b7d63440cf5f28e3ad69a5839def2.tar.gz ChibiOS-aaa126da625b7d63440cf5f28e3ad69a5839def2.tar.bz2 ChibiOS-aaa126da625b7d63440cf5f28e3ad69a5839def2.zip |
Fixed bug 3599328.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5033 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r-- | os/various/shell.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/various/shell.c b/os/various/shell.c index 611da6de0..9feef152a 100644 --- a/os/various/shell.c +++ b/os/various/shell.c @@ -156,10 +156,10 @@ static msg_t shell_thread(void *p) { chprintf(chp, "\r\nlogout");
break;
}
- lp = _strtok(line, " \009", &tokp);
+ lp = _strtok(line, " \t", &tokp);
cmd = lp;
n = 0;
- while ((lp = _strtok(NULL, " \009", &tokp)) != NULL) {
+ while ((lp = _strtok(NULL, " \t", &tokp)) != NULL) {
if (n >= SHELL_MAX_ARGUMENTS) {
chprintf(chp, "too many arguments\r\n");
cmd = NULL;
|