From: Mark Wooding Date: Mon, 4 Jun 2018 00:48:51 +0000 (+0100) Subject: linux.c: Reformat to suppress a compiler warning. X-Git-Tag: 1.0.5~4 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/yaid/commitdiff_plain/dd5e35da5f74e9ed3bbfb639c2bab927a12c634f linux.c: Reformat to suppress a compiler warning. Maybe -- maybe -- the code was overly compressed. --- diff --git a/linux.c b/linux.c index 571b179..8ed0396 100644 --- 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 :