X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Ftypes_list.c;h=ff8426286ac515472b63285aee83fe7df0d45cb7;hb=89783745dc59079eab34e0c52de6e5e972f50eb2;hp=43e87902efda3a0c54dc056dfc0e5e8b9ed8d157;hpb=b62e76ba5220c5279c29d970a65fa5a74dc1f145;p=collectd.git diff --git a/src/types_list.c b/src/types_list.c index 43e87902..ff842628 100644 --- a/src/types_list.c +++ b/src/types_list.c @@ -91,7 +91,7 @@ static int parse_ds (data_source_t *dsrc, char *buf, size_t buf_len) return (0); } /* int parse_ds */ -static void parse_line (char *buf, size_t buf_len) +static void parse_line (char *buf) { char *fields[64]; size_t fields_num; @@ -165,7 +165,7 @@ static void parse_file (FILE *fh) if (buf_len == 0) continue; - parse_line (buf, buf_len); + parse_line (buf); } /* while (fgets) */ } /* void parse_file */