summaryrefslogtreecommitdiff
path: root/heredoc.c
diff options
context:
space:
mode:
authorToby Goodwin <toby@paccrat.org>2015-05-15 19:36:55 +0100
committerToby Goodwin <toby@paccrat.org>2015-05-16 21:23:24 +0100
commit27c900d6ae9cd0dcf4bc97bc9b8c1882e40ccfa8 (patch)
tree9ce71c54d395ebc0e84ecded69a75d2ed0ce831c /heredoc.c
parent3202133256713848312dddefba2250a6803bfec6 (diff)
snapshot from cvs: 2005-03-03
Diffstat (limited to 'heredoc.c')
-rw-r--r--heredoc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/heredoc.c b/heredoc.c
index a902a9c..348dc84 100644
--- a/heredoc.c
+++ b/heredoc.c
@@ -42,7 +42,7 @@ static char *readheredoc(char *eof) {
bufend = &buf[bufsize]; \
}
for (;;) {
- print_prompt2();
+ nextline();
for (s = (unsigned char *) eof; (c = gchar()) == *s; s++)
;
if (*s == '\0' && (c == '\n' || c == EOF)) {