Steve Oliphant pointed out that test case 105 did not work anymore and this
authorDaniel Stenberg <daniel@haxx.se>
Fri, 10 Jan 2003 16:19:32 +0000 (16:19 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 10 Jan 2003 16:19:32 +0000 (16:19 +0000)
was due to a missing fix for the password prompting

lib/url.c

index ad0acd3bbd3624527b8de495342c54ede3531f9b..37140eb84de12954daa63ad14594bddb19773274 100644 (file)
--- 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)) {