summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1995-03-31 11:48:35 +0000
committerjkh <jkh@FreeBSD.org>1995-03-31 11:48:35 +0000
commit4eaa6129d2fcd985ec513d0b9df69abe28f9c708 (patch)
treebfb4a74bd3d8444a1ef5b71ccc6c8c52c67e427a
parent3242e11e9593d569dc8e7447c3b6b26c72b02b36 (diff)
downloadFreeBSD-src-4eaa6129d2fcd985ec513d0b9df69abe28f9c708.zip
FreeBSD-src-4eaa6129d2fcd985ec513d0b9df69abe28f9c708.tar.gz
Back out the previous commit.
-rw-r--r--usr.bin/ncftp/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/ncftp/main.c b/usr.bin/ncftp/main.c
index 13c5fb0..7d715ac 100644
--- a/usr.bin/ncftp/main.c
+++ b/usr.bin/ncftp/main.c
@@ -464,6 +464,8 @@ int getuserinfo(void)
if (cp == NULL)
cp = getenv("MAILPATH");
if (cp == NULL)
+ cp = getenv("MAILPATH");
+ if (cp == NULL)
cp = getenv("mail");
if (cp == NULL)
(void) sprintf(str, "/usr/spool/mail/%s", uinfo.username);
OpenPOWER on IntegriCloud