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: Make sure parsers update the cursor when they finish.
[preload-hacks]
/
noip.c
diff --git
a/noip.c
b/noip.c
index e545ddf2efbcde84ac1080c264a942ef53f4ca97..1342a338634ff51a3b55f43c648fb10986e421c1 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: