~mdw
/
yaid
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
2c517be
)
linux.c: Reformat to suppress a compiler warning.
author
Mark Wooding
<mdw@distorted.org.uk>
Mon, 4 Jun 2018 00:48:51 +0000
(
01:48
+0100)
committer
Mark 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
patch
|
blob
|
blame
|
history
diff --git
a/linux.c
b/linux.c
index
571b179
..
8ed0396
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 :