chiark / gitweb /
ipif: eat_optionalstr: understand that *argp may be 0
[userv-utils.git] / ipif / service.c
index 7821a463cf84ecbab4d776e829ba8690e1639852..519015163fff2afec2bdc6f7e163d0e2004b687b 100644 (file)
@@ -338,7 +338,7 @@ static char *eat_optionalstr(const char **argp,
       *argp= comma + 1;
     } else {
       len= strlen(start);
-      *argp= start + len;
+      *argp= 0;
     }
   }
   if (!len) {