diff options
author | Daniel Stenberg <daniel@haxx.se> | 2016-04-03 20:28:34 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-04-03 22:38:36 +0200 |
commit | a71012c03ef6a7cbfba69bcafb559fa417c49af0 (patch) | |
tree | db917bd1712346053d67108c494e4424ba290e07 /lib/socks.c | |
parent | 9d194a1143f280dfd5174108b27edd51d909383d (diff) | |
download | curl-a71012c03ef6a7cbfba69bcafb559fa417c49af0.tar.gz |
code: style updates
Diffstat (limited to 'lib/socks.c')
-rw-r--r-- | lib/socks.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/socks.c b/lib/socks.c index e7d42e77b..8c4129647 100644 --- a/lib/socks.c +++ b/lib/socks.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -173,8 +173,8 @@ CURLcode Curl_SOCKS4(const char *proxy_name, unsigned short ip[4]; Curl_printable_address(hp, buf, sizeof(buf)); - if(4 == sscanf( buf, "%hu.%hu.%hu.%hu", - &ip[0], &ip[1], &ip[2], &ip[3])) { + if(4 == sscanf(buf, "%hu.%hu.%hu.%hu", + &ip[0], &ip[1], &ip[2], &ip[3])) { /* Set DSTIP */ socksreq[4] = (unsigned char)ip[0]; socksreq[5] = (unsigned char)ip[1]; |