diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-03-15 16:41:13 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-03-15 16:49:07 +0100 |
commit | 961e4526925b7b1e1d3582f2fc9fb38035e2b5fb (patch) | |
tree | 11b7aae3f3d1af9715fd2e282af07986c791a4a0 /src | |
parent | 8f27a2212ee8d6311c88ef4358953ad0d7bfa851 (diff) |
strv: fix STRV_FOREACH_PAIR macro definition
Diffstat (limited to 'src')
-rw-r--r-- | src/shared/strv.h | 2 |
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); |