aboutsummaryrefslogtreecommitdiff
path: root/lib/url.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/url.c')
-rw-r--r--lib/url.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/url.c b/lib/url.c
index d8642e31b..16c871df3 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -4447,8 +4447,8 @@ static CURLcode set_userpass(struct connectdata *conn,
const char *user, const char *passwd)
{
/* If our protocol needs a password and we have none, use the defaults */
- if( (conn->handler->protocol & (CURLPROTO_FTP|CURLPROTO_IMAP)) &&
- !conn->bits.user_passwd) {
+ if((conn->handler->protocol & (CURLPROTO_FTP|CURLPROTO_IMAP)) &&
+ !conn->bits.user_passwd) {
conn->user = strdup(CURL_DEFAULT_USER);
if(conn->user)