diff options
author | nicm <nicm> | 2021-08-21 17:25:32 +0000 |
---|---|---|
committer | nicm <nicm> | 2021-08-21 17:25:32 +0000 |
commit | 5241dae87de88906dc5c1dc271a4f25522a22d4c (patch) | |
tree | 17be354eb3556ed62cfdc74f2a8e4ecfe6599a22 /options.c | |
parent | 68cacaec68ca8300e0ea439abdf9db16e74241bb (diff) | |
download | rtmux-5241dae87de88906dc5c1dc271a4f25522a22d4c.tar.gz rtmux-5241dae87de88906dc5c1dc271a4f25522a22d4c.tar.bz2 rtmux-5241dae87de88906dc5c1dc271a4f25522a22d4c.zip |
Stop caring about empty commands, just treat as a null command.
Diffstat (limited to 'options.c')
-rw-r--r-- | options.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -443,10 +443,6 @@ options_array_set(struct options_entry *o, u_int idx, const char *value, if (OPTIONS_IS_COMMAND(o)) { pr = cmd_parse_from_string(value, NULL); switch (pr->status) { - case CMD_PARSE_EMPTY: - if (cause != NULL) - *cause = xstrdup("empty command"); - return (-1); case CMD_PARSE_ERROR: if (cause != NULL) *cause = pr->error; |