Skip to content

Commit

Permalink
Replace getdelim
Browse files Browse the repository at this point in the history
Use getline instead to be more flexible

Signed-off-by: Anestis Bechtsoudis <[email protected]>
  • Loading branch information
anestisb committed Sep 21, 2015
1 parent 0d3008e commit 7d6185c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files.c
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ bool files_parseBlacklist(honggfuzz_t * hfuzz)
for (;;) {
char *lineptr = NULL;
size_t n = 0;
if (getdelim(&lineptr, &n, '\r', fBl) == -1) {
if (getline(&lineptr, &n, fBl) == -1) {
break;
}
if ((hfuzz->blacklist =
Expand Down

0 comments on commit 7d6185c

Please sign in to comment.