aboutsummaryrefslogtreecommitdiff
path: root/lib/urldata.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-01-09 16:47:09 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-01-09 16:47:09 +0000
commit9a2de6e6eecac91b2cfbeb8617d5bbc2ffbfc50b (patch)
tree200173e1839aefd13345dc36c828eefd45581833 /lib/urldata.h
parent2ede47b8c89c60e2d0f91d82d038dd5f73af31ea (diff)
if userpwd is "username:", this now implies a blank password while only
"username" will cause libcurl to prompt for password. Bryan Kemp noticed. test case 136 is added for this
Diffstat (limited to 'lib/urldata.h')
-rw-r--r--lib/urldata.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/urldata.h b/lib/urldata.h
index 153825d4b..b8145acc0 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -570,6 +570,9 @@ struct UrlState {
char proxyuser[MAX_CURL_USER_LENGTH];
char proxypasswd[MAX_CURL_PASSWORD_LENGTH];
+ bool passwdgiven; /* set TRUE if an application-provided password has been
+ set */
+
struct timeval keeps_speed; /* for the progress meter really */
/* 'connects' will be an allocated array with pointers. If the pointer is