+2001-06-14 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * http.c (gethttp): Search `.netrc' with real host, not the proxy
+ one.
+
2001-06-14 Hrvoje Niksic <hniksic@arsdigita.com>
* sysdep.h (MAP_FAILED): Provide MAP_FAILED for systems that don't
/* Construct the authentication, if userid is present. */
user = ou->user;
passwd = ou->passwd;
- search_netrc (u->host, (const char **)&user, (const char **)&passwd, 0);
+ search_netrc (ou->host, (const char **)&user, (const char **)&passwd, 0);
user = user ? user : opt.http_user;
passwd = passwd ? passwd : opt.http_passwd;