From dbadaebfc4e9d453232795f54d4fe5618cf8e84d Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 23 Nov 2016 07:53:24 +0100 Subject: checksrc: code style: use 'char *name' style --- lib/connect.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/connect.c') diff --git a/lib/connect.c b/lib/connect.c index 6329434af..6019170fd 100644 --- a/lib/connect.c +++ b/lib/connect.c @@ -606,8 +606,8 @@ void Curl_persistconninfo(struct connectdata *conn) } /* retrieves ip address and port from a sockaddr structure */ -static bool getaddressinfo(struct sockaddr* sa, char* addr, - long* port) +static bool getaddressinfo(struct sockaddr *sa, char *addr, + long *port) { unsigned short us_port; struct sockaddr_in* si = NULL; @@ -843,7 +843,7 @@ CURLcode Curl_is_connected(struct connectdata *conn, if(result) { /* no more addresses to try */ - const char* hostname; + const char *hostname; /* if the first address family runs out of addresses to try before the happy eyeball timeout, go ahead and try the next family now */ -- cgit v1.2.3