diff options
author | Thomas Adam <thomas@xteddy.org> | 2017-01-18 10:01:12 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2017-01-18 10:01:12 +0000 |
commit | 6d37984f4f55817a199bd0c2238eb5279f065ee9 (patch) | |
tree | 0dafbe0a0434fc3cf4dbeaab992963c6301a904f /options.c | |
parent | 64c486ae81b226bda1ae9f753235c6384934c94a (diff) | |
parent | 649c0d8e91e799981f4e41d4268a3470512c8412 (diff) | |
download | rtmux-6d37984f4f55817a199bd0c2238eb5279f065ee9.tar.gz rtmux-6d37984f4f55817a199bd0c2238eb5279f065ee9.tar.bz2 rtmux-6d37984f4f55817a199bd0c2238eb5279f065ee9.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'options.c')
-rw-r--r-- | options.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -403,6 +403,11 @@ options_match(const char *s, int *idx, int* ambiguous) name = options_parse(s, idx); namelen = strlen(name); + if (*name == '@') { + *ambiguous = 0; + return (xstrdup(name)); + } + found = NULL; for (oe = options_table; oe->name != NULL; oe++) { if (strcmp(oe->name, name) == 0) { |