tree-wide: use IN_SET macro (#6977)
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
6d0aa4db7b
commit
4c70109600
+1
-1
@@ -208,7 +208,7 @@ int xml_tokenize(const char **p, char **name, void **state, unsigned *line) {
|
||||
if (*c == '=') {
|
||||
c++;
|
||||
|
||||
if (*c == '\'' || *c == '\"') {
|
||||
if (IN_SET(*c, '\'', '\"')) {
|
||||
/* Tag with a quoted value */
|
||||
|
||||
e = strchr(c+1, *c);
|
||||
|
||||
Reference in New Issue
Block a user