=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ftp/ruserpass.c,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- src/usr.bin/ftp/ruserpass.c 1998/03/30 06:59:35 1.11 +++ src/usr.bin/ftp/ruserpass.c 2000/07/27 19:59:13 1.12 @@ -1,4 +1,4 @@ -/* $OpenBSD: ruserpass.c,v 1.11 1998/03/30 06:59:35 deraadt Exp $ */ +/* $OpenBSD: ruserpass.c,v 1.12 2000/07/27 19:59:13 millert Exp $ */ /* $NetBSD: ruserpass.c,v 1.14 1997/07/20 09:46:01 lukem Exp $ */ /* @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)ruserpass.c 8.4 (Berkeley) 4/27/95"; #else -static char rcsid[] = "$OpenBSD: ruserpass.c,v 1.11 1998/03/30 06:59:35 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: ruserpass.c,v 1.12 2000/07/27 19:59:13 millert Exp $"; #endif #endif /* not lint */ @@ -94,7 +94,7 @@ hdir = getenv("HOME"); if (hdir == NULL) - hdir = "."; + return (0); if (strlen(hdir) + sizeof(".netrc") < sizeof(buf)) { (void)sprintf(buf, "%s/.netrc", hdir); } else {