diff options
author | Daniel Stenberg <daniel@haxx.se> | 2011-09-07 22:46:06 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2011-09-07 22:46:06 +0200 |
commit | 21474920504ed4b6c87a5d38176bb794192c44f0 (patch) | |
tree | 20dc06d7e322127cd055e5b9d3b985019b323e34 | |
parent | 58a7c513620888c081ce7fc71609a00b67f5b259 (diff) |
ftp_state_use_port: minor code indent fix
-rw-r--r-- | lib/ftp.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 */ |