summaryrefslogtreecommitdiff
path: root/src/shared/strv.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/strv.h')
-rw-r--r--src/shared/strv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/strv.h b/src/shared/strv.h
index da9fae6edb..49058f8df8 100644
--- a/src/shared/strv.h
+++ b/src/shared/strv.h
@@ -77,7 +77,7 @@ bool strv_overlap(char **a, char **b);
for (; (l) && ((s) >= (l)); (s)--)
#define STRV_FOREACH_PAIR(x, y, l) \
- for ((x) = (l), (y) = (x+1); (x) && *(x) && *(y); (x) += 2)
+ for ((x) = (l), (y) = (x+1); (x) && *(x) && *(y); (x) += 2, (y) = (x + 1))
char **strv_sort(char **l);