noip.1: Fix source formatting.
[preload-hacks] / noip.c
diff --git a/noip.c b/noip.c
index 2cf2959..1342a33 100644 (file)
--- a/noip.c
+++ b/noip.c
@@ -1038,8 +1038,9 @@ static void parse_acl_line(char **pp, aclnode ***tail)
     }
     SKIPSPC;
     if (*p != ',') break;
-    p++;
+    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: