summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2011-09-07 22:46:06 +0200
committerDaniel Stenberg <daniel@haxx.se>2011-09-07 22:46:06 +0200
commit21474920504ed4b6c87a5d38176bb794192c44f0 (patch)
tree20dc06d7e322127cd055e5b9d3b985019b323e34
parent58a7c513620888c081ce7fc71609a00b67f5b259 (diff)
downloadgnurl-21474920504ed4b6c87a5d38176bb794192c44f0.tar.gz
gnurl-21474920504ed4b6c87a5d38176bb794192c44f0.tar.bz2
gnurl-21474920504ed4b6c87a5d38176bb794192c44f0.zip
ftp_state_use_port: minor code indent fix
-rw-r--r--lib/ftp.c3
1 files changed, 2 insertions, 1 deletions
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 */