about summary refs log tree commit diff
path: root/mseq.c
diff options
context:
space:
mode:
Diffstat (limited to 'mseq.c')
-rw-r--r--mseq.c2
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;