aboutsummaryrefslogtreecommitdiff
path: root/lib/ftp.c
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-12-27 11:09:01 +0000
committerSteve Holme <steve_holme@hotmail.com>2014-12-27 11:31:55 +0000
commit151ae594362460bb4391585a5d408b3b8e3a164d (patch)
tree79971cd65a18403844bfec5f7fc2d56b4330f3e3 /lib/ftp.c
parentbde08d216ca08fc185af2f31e57ebdb5c36f4497 (diff)
code/docs: Use correct case for IPv4 and IPv6
For consistency, as we seem to have a bit of a mixed bag, changed all instances of ipv4 and ipv6 in comments and documentations to use the correct case.
Diffstat (limited to 'lib/ftp.c')
-rw-r--r--lib/ftp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ftp.c b/lib/ftp.c
index 3eabec08c..2f4351e0c 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -1254,10 +1254,10 @@ static CURLcode ftp_state_use_port(struct connectdata *conn,
continue;
if((PORT == fcmd) && sa->sa_family != AF_INET)
- /* PORT is ipv4 only */
+ /* PORT is IPv4 only */
continue;
- switch (sa->sa_family) {
+ switch(sa->sa_family) {
case AF_INET:
port = ntohs(sa4->sin_port);
break;