From: Daniel Stenberg Date: Wed, 7 Sep 2011 20:46:06 +0000 (+0200) Subject: ftp_state_use_port: minor code indent fix X-Git-Tag: curl-7_22_0~24 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=21474920504ed4b6c87a5d38176bb794192c44f0;p=curl ftp_state_use_port: minor code indent fix --- diff --git a/lib/ftp.c b/lib/ftp.c index 5e418486a..20b70ce3e 100644 --- a/lib/ftp.c +++ b/lib/ftp.c @@ -805,7 +805,8 @@ static CURLcode ftp_state_use_port(struct connectdata *conn, host = addr; else host = hbuf; /* use the hbuf for host name */ - }else + } + else /* there was only a port(-range) given, default the host */ host = NULL; } /* data->set.ftpport */