cmdline: parse() method does not return token_len anymore
[libcmdline.git] / src / extension_example / parse_obj_list.c
index 9869e09..34772b9 100644 (file)
@@ -66,7 +66,7 @@ parse_obj_list(cmdline_parse_token_hdr_t *tk, const char *buf, void *res,
        if (res)
                *(struct object **)res = o;
 
-       return token_len;
+       return 0;
 }
 
 static int