summaryrefslogtreecommitdiffstats
path: root/usr.bin/ncftp/main.c
diff options
context:
space:
mode:
authorats <ats@FreeBSD.org>1995-04-01 15:50:04 +0000
committerats <ats@FreeBSD.org>1995-04-01 15:50:04 +0000
commit53c5ea78d42e49a901cb0370805db9a46c6840e8 (patch)
tree255ad60836908d441ca169b4d2898a8e894e40c6 /usr.bin/ncftp/main.c
parentf63d9c35af97480fbb53ff149c9ff0e71c566cba (diff)
downloadFreeBSD-src-53c5ea78d42e49a901cb0370805db9a46c6840e8.zip
FreeBSD-src-53c5ea78d42e49a901cb0370805db9a46c6840e8.tar.gz
Delete a second getenv("MAILPATH") that happens immediately after a first
try. Doesn't make sense.
Diffstat (limited to 'usr.bin/ncftp/main.c')
-rw-r--r--usr.bin/ncftp/main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/usr.bin/ncftp/main.c b/usr.bin/ncftp/main.c
index 7d715ac..13c5fb0 100644
--- a/usr.bin/ncftp/main.c
+++ b/usr.bin/ncftp/main.c
@@ -464,8 +464,6 @@ 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