commit 2671263a0b51069f287e267fa4fefbaf5b83b8ae parent 767191f03127b4015067134b9b3074f3e8d28761 Author: Jacob R. Edwards <n/a> Date: Sun, 11 Dec 2022 19:11:31 -0600 Parenthesize assignment test in split() Diffstat:
M | aps/split.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/aps/split.c b/aps/split.c @@ -51,7 +51,7 @@ split(char *s, int (*sep)(int)) return NULL; ap = args; - while (*ap = apunquote(&s, sep)) + while ((*ap = apunquote(&s, sep))) ++ap; return args; }