~mdw
/
preload-hacks
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
1cce4a4
)
noip.c: Make sure parsers update the cursor when they finish.
author
Mark Wooding
<mdw@distorted.org.uk>
Mon, 2 May 2016 21:25:35 +0000
(22:25 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Mon, 2 May 2016 23:06:14 +0000
(
00:06
+0100)
Even the ones which don't expect anything else to follow.
noip.c
patch
|
blob
|
blame
|
history
diff --git
a/noip.c
b/noip.c
index
e545ddf
..
1342a33
100644
(file)
--- a/
noip.c
+++ b/
noip.c
@@
-1040,6
+1040,7
@@
static void parse_acl_line(char **pp, aclnode ***tail)
if (*p != ',') break;
if (*p) p++;
}
+ *pp = p;
return;
bad:
@@
-1060,6
+1061,7
@@
static void parse_autoports(char **pp)
if (*p != '-') goto bad; p++;
NEXTNUMBER(q, del); y = strtoul(q, 0, 0); RESCAN(del);
minautoport = x; maxautoport = y;
+ *pp = p;
return;
bad: