aboutsummaryrefslogtreecommitdiffstats
path: root/etc.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2004-04-04 16:47:20 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2004-04-04 16:47:20 +0000
commit1f3235767ee02c51b50767ffbd63f95c3665933d (patch)
tree8ae07d7e245b7aab0b3b3baf0f1bdbbb339405b3 /etc.c
parentDebian Bug#241192 w3m ipv6 FQDN resolution failure (diff)
downloadw3m-1f3235767ee02c51b50767ffbd63f95c3665933d.tar.gz
w3m-1f3235767ee02c51b50767ffbd63f95c3665933d.zip
[w3m-dev 04049] w3m-cvs-1.914-misc.patch
* Makefile.in (funcname.tab): dont modify when target is unchanged. (CFLAGS): need $(CPPFLAGS)? * config.h.in: add HAVE_STDINT_H, HAVE_INTTYPES_H * configure.in: s/AC_CANONICAL_SYSTEM/AC_CANONICAL_HOST/ don't use AC_CYGWIN don't use $CYGWIN, use $host_os *cygwin* AC_DEFINE in AC_CHECK_HEADER (float.h, sys/select.h) add stdint.h, inttypes.h * etc.c (find_auth_pass_entry): host is case insensitive * libwc/wc_types.h: use stdint.h or inttypes.h * main.c (MAIN); need GC_init() From: AIDA Shinra <shinra@j10n.org>
Diffstat (limited to 'etc.c')
-rw-r--r--etc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc.c b/etc.c
index b3e3c63..3efbec0 100644
--- a/etc.c
+++ b/etc.c
@@ -1,4 +1,4 @@
-/* $Id: etc.c,v 1.76 2004/03/31 16:45:39 ukai Exp $ */
+/* $Id: etc.c,v 1.77 2004/04/04 16:47:20 ukai Exp $ */
#include "fm.h"
#include <pwd.h>
#include "myctype.h"
@@ -957,7 +957,7 @@ find_auth_pass_entry(char *host, int port, char *file, char *realm,
struct auth_pass *ent;
for (ent = passwords; ent != NULL; ent = ent->next) {
if (ent->is_proxy == is_proxy
- && (!ent->host || !Strcmp_charp(ent->host, host))
+ && (!ent->host || !Strcasecmp_charp(ent->host, host))
&& (!ent->port || ent->port == port)
&& (!ent->file || !file || dir_under(ent->file->ptr, file))
&& (!ent->realm || !realm || !Strcmp_charp(ent->realm, realm))