From: Zbigniew Jędrzejewski-Szmek Date: Tue, 28 Jun 2016 19:12:01 +0000 (-0400) Subject: Drop parentheses in two places X-Git-Tag: v231~53^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fc549b96054d52bbde68a4aa773bf4037700d389;p=thirdparty%2Fsystemd.git Drop parentheses in two places --- diff --git a/man/systemd-resolved.service.xml b/man/systemd-resolved.service.xml index 0df037ba69f..141b06e374e 100644 --- a/man/systemd-resolved.service.xml +++ b/man/systemd-resolved.service.xml @@ -68,8 +68,8 @@ link-local networking). The glibc - getaddrinfo3 API (as defined - by RFC3493) and its related resolver functions, + getaddrinfo3 API as defined + by RFC3493 and its related resolver functions, including gethostbyname3. This API is widely supported, including beyond the Linux platform. In its current form it does not expose DNSSEC validation status information however, and is synchronous only. This API is backed by the glibc Name Service diff --git a/src/basic/strv.c b/src/basic/strv.c index e0e2d1ebbea..db315ac10ad 100644 --- a/src/basic/strv.c +++ b/src/basic/strv.c @@ -803,9 +803,8 @@ char **strv_reverse(char **l) { if (n <= 1) return l; - for (i = 0; i < n / 2; i++) { + for (i = 0; i < n / 2; i++) SWAP_TWO(l[i], l[n-1-i]); - } return l; }