aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/url.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/url.c b/lib/url.c
index 83aa6e3b2..2348ac2d6 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -748,7 +748,7 @@ static CURLcode _connect(CURL *curl, CURLconnect **in_connect)
/* the name is given, get user+password */
sscanf(data->userpwd, "%127[^:]:%127[^\n]",
data->user, data->passwd);
- }
+ }
else
/* no name given, get the password only */
sscanf(data->userpwd+1, "%127[^\n]", data->passwd);