diff options
author | Daniel Stenberg <daniel@haxx.se> | 2010-01-22 23:21:39 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2010-01-22 23:21:39 +0000 |
commit | 33ce0ec1f1951bc1a8f4d475381c1b7c95d4a03a (patch) | |
tree | 770107eca67cfa3a6b55db2c677d9ee3385583be /lib/hostip.c | |
parent | 143586403055b977bfe17b06042ebc3beb5d4d82 (diff) |
wrap long lines and do some indent policing
Diffstat (limited to 'lib/hostip.c')
-rw-r--r-- | lib/hostip.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/hostip.c b/lib/hostip.c index 7c72c05ed..0ef806b72 100644 --- a/lib/hostip.c +++ b/lib/hostip.c @@ -189,12 +189,14 @@ Curl_printable_address(const Curl_addrinfo *ai, char *buf, size_t bufsize) case AF_INET: sa4 = (const void *)ai->ai_addr; ipaddr4 = &sa4->sin_addr; - return Curl_inet_ntop(ai->ai_family, (const void *)ipaddr4, buf, bufsize); + return Curl_inet_ntop(ai->ai_family, (const void *)ipaddr4, buf, + bufsize); #ifdef ENABLE_IPV6 case AF_INET6: sa6 = (const void *)ai->ai_addr; ipaddr6 = &sa6->sin6_addr; - return Curl_inet_ntop(ai->ai_family, (const void *)ipaddr6, buf, bufsize); + return Curl_inet_ntop(ai->ai_family, (const void *)ipaddr6, buf, + bufsize); #endif default: break; |