aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorMike Heffner <mikeh@FreeBSD.org>2004-03-06 13:27:59 +0000
committerMike Heffner <mikeh@FreeBSD.org>2004-03-06 13:27:59 +0000
commit761981e0e86398e2a164f9953cf4ca6f40604bf2 (patch)
tree7e86592ded8baece04684092f091bd14dcc563f0 /usr.bin
parentd493ed0f978ba14d1cfe59a0a20567df1220c1d1 (diff)
downloadsrc-761981e0e86398e2a164f9953cf4ca6f40604bf2.tar.gz
src-761981e0e86398e2a164f9953cf4ca6f40604bf2.zip
Assign checkmode boolean earlier to handle the goto jump.
Might fix PR bin/63769.
Notes
Notes: svn path=/head/; revision=126691
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/mail/lex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/mail/lex.c b/usr.bin/mail/lex.c
index 973eee57fd00..7eb11231334e 100644
--- a/usr.bin/mail/lex.c
+++ b/usr.bin/mail/lex.c
@@ -77,6 +77,7 @@ setfile(name)
char tempname[PATHSIZE];
static int shudclob;
+ checkmode = value("checkmode") != NULL;
if ((name = expand(name)) == NULL)
return (-1);
@@ -151,7 +152,6 @@ setfile(name)
(void)Fclose(ibuf);
relsesigs();
sawcom = 0;
- checkmode = value("checkmode") != NULL;
if ((checkmode || !edit) && msgCount == 0) {
nomail: