projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58a7c51
)
ftp_state_use_port: minor code indent fix
author
Daniel Stenberg
<daniel@haxx.se>
Wed, 7 Sep 2011 20:46:06 +0000
(22:46 +0200)
committer
Daniel Stenberg
<daniel@haxx.se>
Wed, 7 Sep 2011 20:46:06 +0000
(22:46 +0200)
lib/ftp.c
patch
|
blob
|
history
diff --git
a/lib/ftp.c
b/lib/ftp.c
index
5e41848
..
20b70ce
100644
(file)
--- 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 */