summaryrefslogtreecommitdiff
path: root/lib/if2ip.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2016-11-23 07:53:24 +0100
committerDaniel Stenberg <daniel@haxx.se>2016-11-24 23:58:22 +0100
commitdbadaebfc4e9d453232795f54d4fe5618cf8e84d (patch)
tree5899d1f99ce0d767d28d753e6e6552896d47d01f /lib/if2ip.c
parentbc7e08471c1884a5100b6e0513a006c263ec3c6b (diff)
downloadcurl-dbadaebfc4e9d453232795f54d4fe5618cf8e84d.tar.gz
checksrc: code style: use 'char *name' style
Diffstat (limited to 'lib/if2ip.c')
-rw-r--r--lib/if2ip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/if2ip.c b/lib/if2ip.c
index e6faa4b80..d876615ea 100644
--- a/lib/if2ip.c
+++ b/lib/if2ip.c
@@ -68,7 +68,7 @@ unsigned int Curl_ipv6_scope(const struct sockaddr *sa)
#else
if(sa->sa_family == AF_INET6) {
const struct sockaddr_in6 * sa6 = (const struct sockaddr_in6 *)(void *) sa;
- const unsigned char * b = sa6->sin6_addr.s6_addr;
+ const unsigned char *b = sa6->sin6_addr.s6_addr;
unsigned short w = (unsigned short) ((b[0] << 8) | b[1]);
switch(w & 0xFFC0) {