aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-01-10 16:19:32 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-01-10 16:19:32 +0000
commit3773d76dfdb7875148f0cab82fb205bbfe4b6992 (patch)
treeb27d3cb7e2a1cbaff68ceb5cd1bb78b18241e9e3
parent94c5c7bd6d33da36ff8c3959e0623eab142273e6 (diff)
Steve Oliphant pointed out that test case 105 did not work anymore and this
was due to a missing fix for the password prompting
-rw-r--r--lib/url.c3
1 files changed, 3 insertions, 0 deletions
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)) {