From 3773d76dfdb7875148f0cab82fb205bbfe4b6992 Mon Sep 17 00:00:00 2001
From: Daniel Stenberg <daniel@haxx.se>
Date: Fri, 10 Jan 2003 16:19:32 +0000
Subject: [PATCH] Steve Oliphant pointed out that test case 105 did not work
 anymore and this was due to a missing fix for the password prompting

---
 lib/url.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/url.c b/lib/url.c
index ad0acd3bbd..37140eb84d 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)) {
-- 
GitLab