Skip to content

Commit

Permalink
Added underscore to custom getline
Browse files Browse the repository at this point in the history
  • Loading branch information
jekwupeter authored Jun 20, 2022
1 parent e0712d2 commit c6fa139
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ int main(int argc, char *argv[])
exit(EXIT_FAILURE);
}

while ((read = getline(&line, &len, fp)) != -1)
while ((read = _getline(&line, &len, fp)) != -1)
{
if (*line == '\n')
{
Expand Down

0 comments on commit c6fa139

Please sign in to comment.