linux.c (parseaddr_ipv6): Fix operator spacing.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 4 Feb 2016 10:22:39 +0000 (10:22 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 4 Feb 2016 10:22:39 +0000 (10:22 +0000)
Purely cosmetic.

linux.c

diff --git a/linux.c b/linux.c
index 17a27a8..b37f7f4 100644 (file)
--- 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++;