From e9c4f66d13b88a14baf70cc5d346563ba21d1fed Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Thu, 4 Feb 2016 10:22:39 +0000 Subject: [PATCH] linux.c (parseaddr_ipv6): Fix operator spacing. Purely cosmetic. --- linux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/linux.c b/linux.c index 17a27a8..b37f7f4 100644 --- a/linux.c +++ b/linux.c @@ -64,8 +64,8 @@ static int parseaddr_ipv6(char **pp, union addr *a) y = 0; for (j = 0; j < 8; j++) { if ('0' <= *p && *p <= '9') x = *p - '0'; - else if ('a' <= *p && *p <= 'f') x = *p - 'a'+ 10; - else if ('A' <= *p && *p <= 'F') x = *p - 'A'+ 10; + else if ('a' <= *p && *p <= 'f') x = *p - 'a' + 10; + else if ('A' <= *p && *p <= 'F') x = *p - 'A' + 10; else return (-1); y = (y << 4) | x; p++; -- 2.11.0