diff options
Diffstat (limited to 'openbsc')
-rw-r--r-- | openbsc/src/libctrl/control_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/libctrl/control_cmd.c b/openbsc/src/libctrl/control_cmd.c index db88668f..44cfa485 100644 --- a/openbsc/src/libctrl/control_cmd.c +++ b/openbsc/src/libctrl/control_cmd.c @@ -343,7 +343,7 @@ struct ctrl_cmd *ctrl_cmd_parse(void *ctx, struct msgb *msg) break; case CTRL_TYPE_SET: var = strtok_r(NULL, " ", &saveptr); - val = strtok_r(NULL, " ", &saveptr); + val = strtok_r(NULL, "\n", &saveptr); if (!var || !val) { cmd->type = CTRL_TYPE_ERROR; cmd->reply = "SET incomplete"; |