diff options
author | Steve Holme <steve_holme@hotmail.com> | 2014-12-27 11:09:01 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2014-12-27 11:31:55 +0000 |
commit | 151ae594362460bb4391585a5d408b3b8e3a164d (patch) | |
tree | 79971cd65a18403844bfec5f7fc2d56b4330f3e3 /lib/ftp.c | |
parent | bde08d216ca08fc185af2f31e57ebdb5c36f4497 (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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |