=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mail/collect.c,v retrieving revision 1.21 retrieving revision 1.21.2.1 diff -u -r1.21 -r1.21.2.1 --- src/usr.bin/mail/collect.c 2001/06/23 23:04:21 1.21 +++ src/usr.bin/mail/collect.c 2002/04/13 19:09:48 1.21.2.1 @@ -1,4 +1,4 @@ -/* $OpenBSD: collect.c,v 1.21 2001/06/23 23:04:21 millert Exp $ */ +/* $OpenBSD: collect.c,v 1.21.2.1 2002/04/13 19:09:48 millert Exp $ */ /* $NetBSD: collect.c,v 1.9 1997/07/09 05:25:45 mikel Exp $ */ /* @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)collect.c 8.2 (Berkeley) 4/19/94"; #else -static char rcsid[] = "$OpenBSD: collect.c,v 1.21 2001/06/23 23:04:21 millert Exp $"; +static char rcsid[] = "$OpenBSD: collect.c,v 1.21.2.1 2002/04/13 19:09:48 millert Exp $"; #endif #endif /* not lint */ @@ -185,7 +185,8 @@ value("interactive") != NULL && !lastlong && (value("dot") != NULL || value("ignoreeof") != NULL)) break; - if (linebuf[0] != escape || lastlong) { + if (linebuf[0] != escape || value("interactive") == NULL || + lastlong) { if (putline(collf, linebuf, !longline) < 0) goto err; continue;