diff options
Diffstat (limited to 'mseq.c')
-rw-r--r-- | mseq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mseq.c b/mseq.c index 70ed1b2..00ec844 100644 --- a/mseq.c +++ b/mseq.c @@ -205,7 +205,7 @@ stdinmode() outfile = stdout; } - while ((rd = getline(&line, &linelen, stdin)) != -1) { + while ((rd = getdelim(&line, &linelen, '\n', stdin)) != -1) { if (line[rd-1] == '\n') line[rd-1] = 0; |