diff options
Diffstat (limited to 'mexport.c')
-rw-r--r-- | mexport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mexport.c b/mexport.c index 2e06890..7c31609 100644 --- a/mexport.c +++ b/mexport.c @@ -62,7 +62,7 @@ export(char *file) while (1) { errno = 0; - ssize_t rd = getline(&line, &linelen, infile); + ssize_t rd = getdelim(&line, &linelen, '\n', infile); if (rd == -1) { if (errno == 0) break; |