From: Daniel Stenberg Date: Fri, 10 Jan 2003 16:19:32 +0000 (+0000) Subject: Steve Oliphant pointed out that test case 105 did not work anymore and this X-Git-Tag: curl-7_10_3~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3773d76dfdb7875148f0cab82fb205bbfe4b6992;p=curl Steve Oliphant pointed out that test case 105 did not work anymore and this was due to a missing fix for the password prompting --- diff --git a/lib/url.c b/lib/url.c index ad0acd3bb..37140eb84 100644 --- a/lib/url.c +++ b/lib/url.c @@ -2491,6 +2491,9 @@ static CURLcode CreateConnection(struct SessionHandle *data, /* no name given, get the password only */ sscanf(userpass, ":%127[^@]", data->state.passwd); + /* we have set the password */ + data->state.passwdgiven = TRUE; + if(data->state.user[0]) { char *newname=curl_unescape(data->state.user, 0); if(strlen(newname) < sizeof(data->state.user)) {