chiark
/
gitweb
/
~mdw
/
preload-hacks
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7be80f8
)
noip.c: Placate GCC warning about `misleading' layout.
author
Mark Wooding
<mdw@distorted.org.uk>
Wed, 6 Jun 2018 18:42:30 +0000
(19:42 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Wed, 6 Jun 2018 18:43:24 +0000
(19:43 +0100)
I think I prefer the way it was, but I'll go with having a quiet life.
noip.c
patch
|
blob
|
blame
|
history
diff --git
a/noip.c
b/noip.c
index 085b0be9983922b5a4a9100e70eadee4b6fe5b08..b10f6bb30d55ccff0a49c9fc917584eb5c61ac2a 100644
(file)
--- a/
noip.c
+++ b/
noip.c
@@
-1316,7
+1316,8
@@
static void parse_autoports(char **pp)
SKIPSPC;
NEXTNUMBER(q, del); x = strtoul(q, 0, 0); RESCAN(del);
SKIPSPC;
- if (*p != '-') goto bad; p++;
+ if (*p != '-') goto bad;
+ p++;
NEXTNUMBER(q, del); y = strtoul(q, 0, 0); RESCAN(del);
minautoport = x; maxautoport = y;
SKIPSPC; if (*p) goto bad;