summaryrefslogtreecommitdiff
path: root/lib/connect.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2016-11-23 08:30:18 +0100
committerDaniel Stenberg <daniel@haxx.se>2016-11-24 23:58:22 +0100
commit8657c268e1938c4bd9200b7f5ab69ba156310403 (patch)
tree99d43e4150f9f57a1b62f3439da028fa38e55769 /lib/connect.c
parentec0a5c96ac2f31d09651f04c8b24a30d1f6fa118 (diff)
downloadcurl-8657c268e1938c4bd9200b7f5ab69ba156310403.tar.gz
checksrc: white space edits to comply to stricter checksrc
Diffstat (limited to 'lib/connect.c')
-rw-r--r--lib/connect.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/connect.c b/lib/connect.c
index 6019170fd..40252541f 100644
--- a/lib/connect.c
+++ b/lib/connect.c
@@ -610,17 +610,17 @@ static bool getaddressinfo(struct sockaddr *sa, char *addr,
long *port)
{
unsigned short us_port;
- struct sockaddr_in* si = NULL;
+ struct sockaddr_in *si = NULL;
#ifdef ENABLE_IPV6
- struct sockaddr_in6* si6 = NULL;
+ struct sockaddr_in6 *si6 = NULL;
#endif
#if defined(HAVE_SYS_UN_H) && defined(AF_UNIX)
- struct sockaddr_un* su = NULL;
+ struct sockaddr_un *su = NULL;
#endif
switch (sa->sa_family) {
case AF_INET:
- si = (struct sockaddr_in*)(void*) sa;
+ si = (struct sockaddr_in *)(void *) sa;
if(Curl_inet_ntop(sa->sa_family, &si->sin_addr,
addr, MAX_IPADR_LEN)) {
us_port = ntohs(si->sin_port);
@@ -630,7 +630,7 @@ static bool getaddressinfo(struct sockaddr *sa, char *addr,
break;
#ifdef ENABLE_IPV6
case AF_INET6:
- si6 = (struct sockaddr_in6*)(void*) sa;
+ si6 = (struct sockaddr_in6 *)(void *) sa;
if(Curl_inet_ntop(sa->sa_family, &si6->sin6_addr,
addr, MAX_IPADR_LEN)) {
us_port = ntohs(si6->sin6_port);