tvhlog: improve subsystem parser, fixes #2552
This commit is contained in:
parent
c08adfdaef
commit
85a5d7c4d2
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ tvhlog_set_subsys ( htsmsg_t **c, const char *subsys )
|
||||||
subsys = NULL;
|
subsys = NULL;
|
||||||
a = 1;
|
a = 1;
|
||||||
if (!*t) goto next;
|
if (!*t) goto next;
|
||||||
if (t[0] == '+' || t[0] == '-') {
|
if (t[0] == '+' || t[0] == '-' || t[0] <= ' ') {
|
||||||
a = t[0] == '+';
|
a = t[0] == '+';
|
||||||
t++;
|
t++;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue