--- curl-7.16.0/lib/transfer.c.pix 2006-10-25 22:40:15.000000000 +0200 +++ curl-7.16.0/lib/transfer.c 2007-03-31 16:46:11.000000000 +0200 @@ -676,7 +676,7 @@ * are definitely errors, so give up here. */ if (data->set.http_fail_on_error && (k->httpcode >= 400) && - ((k->httpcode != 401) || !data->set.userpwd) && + ((k->httpcode != 401) || !conn->bits.user_passwd) && ((k->httpcode != 407) || !data->set.proxyuserpwd) ) { if (data->reqdata.resume_from &&