diff options
author | nicm <nicm> | 2019-06-08 21:48:29 +0000 |
---|---|---|
committer | nicm <nicm> | 2019-06-08 21:48:29 +0000 |
commit | 43796bf131c4d7d3a44185c10e5d75860869af0d (patch) | |
tree | d2db017c72746893cefc24c0a25fa72352490616 /options.c | |
parent | e37f34facc05c3ba146d4158cc7af23f6886fecd (diff) | |
download | rtmux-43796bf131c4d7d3a44185c10e5d75860869af0d.tar.gz rtmux-43796bf131c4d7d3a44185c10e5d75860869af0d.tar.bz2 rtmux-43796bf131c4d7d3a44185c10e5d75860869af0d.zip |
Do not try to parse command when unsetting, GitHub issue 1788.
Diffstat (limited to 'options.c')
-rw-r--r-- | options.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -361,7 +361,7 @@ options_array_set(struct options_entry *o, u_int idx, const char *value, return (-1); } - if (OPTIONS_IS_COMMAND(o)) { + if (OPTIONS_IS_COMMAND(o) && value != NULL) { pr = cmd_parse_from_string(value, NULL); switch (pr->status) { case CMD_PARSE_EMPTY: |