chiark / gitweb /
linux.c: Reformat to suppress a compiler warning.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 4 Jun 2018 00:48:51 +0000 (01:48 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 4 Jun 2018 00:48:51 +0000 (01:48 +0100)
Maybe -- maybe -- the code was overly compressed.

linux.c

diff --git a/linux.c b/linux.c
index 571b179b2bf09559b15139a24635e197eadc2c87..8ed0396e40192bd21b15608136fe3c12e56999d1 100644 (file)
--- a/linux.c
+++ b/linux.c
@@ -313,7 +313,8 @@ void identify(struct query *q)
        * field (but do check the port number).
        */
       if (q->ao->sys->parseaddr(&p, &s[i].addr)) goto next_row;
-      if (*p != ':') break; p++;
+      if (*p != ':') break;
+      p++;
       s[i].port = strtoul(p, 0, 16);
       if ((i == R && gwp) ?
            q->s[R].port != s[i].port :