From 21474920504ed4b6c87a5d38176bb794192c44f0 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 7 Sep 2011 22:46:06 +0200 Subject: ftp_state_use_port: minor code indent fix --- lib/ftp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/ftp.c') 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 */ -- cgit v1.2.3