[svn] Contributed fix.

This commit is contained in:
hniksic 2000-11-01 17:02:56 -08:00
parent 268ac1fc7f
commit 6eb0870af0
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,13 @@
2000-11-02 Junio Hamano <junio@twinsun.com>
* ftp-basic.c (ftp_login): Make comparison case-insensitive.
2000-11-02 Tyler Riddle <triddle@liquidmarket.com>
* http.c (known_authentication_scheme_p): Recognize NTML
authentication.
(create_authorization_line): Treat NTML the same as `Basic'.
2000-11-02 Hrvoje Niksic <hniksic@arsdigita.com>
* retr.c (retrieve_url): Free url before returning.

View File

@ -185,7 +185,7 @@ ftp_login (struct rbuf *rbuf, const char *acc, const char *pass)
for (i = 0; i < ARRAY_SIZE (skey_head); i++)
{
if (strncmp (skey_head[i], respline, strlen (skey_head[i])) == 0)
if (strncasecmp (skey_head[i], respline, strlen (skey_head[i])) == 0)
break;
}
if (i < ARRAY_SIZE (skey_head))