chiark
/
gitweb
/
~mdw
/
preload-hacks
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
noip.c: Placate GCC warning about `misleading' layout.
[preload-hacks]
/
noip.c
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;
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;
NEXTNUMBER(q, del); y = strtoul(q, 0, 0); RESCAN(del);
minautoport = x; maxautoport = y;
SKIPSPC; if (*p) goto bad;