diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-09-11 15:08:49 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-09-11 15:08:49 +0000 |
commit | 87442b63f4985c8f84db34d62d211365a5996521 (patch) | |
tree | febd9e3ec8b99d1adfe48f35cc23d162836e9db7 /file.c | |
parent | [w3m-dev 03311] Re: Passwords (diff) | |
download | w3m-87442b63f4985c8f84db34d62d211365a5996521.tar.gz w3m-87442b63f4985c8f84db34d62d211365a5996521.zip |
[w3m-dev 03311] Re: Passwords
* configure (config.h): default PASSWD_FILE
* fm.h (passwd_file): default PASSWD_FILE
From: Yuuichi Teranishi <teranisi@gohome.org>
Diffstat (limited to '')
-rw-r--r-- | file.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: file.c,v 1.99 2002/09/10 18:21:36 ukai Exp $ */ +/* $Id: file.c,v 1.100 2002/09/11 15:08:54 ukai Exp $ */ #include "fm.h" #include <sys/types.h> #include "myctype.h" @@ -1363,6 +1363,8 @@ find_auth_user_passwd(char *host, int port, char *file, char *realm, *uname = NULL; *pwd = NULL; + if (passwd_file == NULL) + return 0; if (stat(expandName(passwd_file), &st) < 0) return 0; |