summaryrefslogtreecommitdiff
path: root/lib/url.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-05-13 12:56:53 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-05-14 00:02:05 +0200
commit66b077576313eda129bce9f58fdc894d857cb121 (patch)
treece4989ca7204ca1fcdcc47dcc50c72d8a8898a6c /lib/url.c
parentf3f5d82e2854991cd12ad5dcf022e8abbcea7038 (diff)
downloadcurl-66b077576313eda129bce9f58fdc894d857cb121.tar.gz
checksrc: enhance the ASTERISKSPACE and update code accordingly
Fine: "struct hello *world" Not fine: "struct hello* world" (and variations) Closes #5386
Diffstat (limited to 'lib/url.c')
-rw-r--r--lib/url.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/url.c b/lib/url.c
index ce94bac05..f250f2ff2 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -865,8 +865,8 @@ static int IsMultiplexingPossible(const struct Curl_easy *handle,
#ifndef CURL_DISABLE_PROXY
static bool
-proxy_info_matches(const struct proxy_info* data,
- const struct proxy_info* needle)
+proxy_info_matches(const struct proxy_info *data,
+ const struct proxy_info *needle)
{
if((data->proxytype == needle->proxytype) &&
(data->port == needle->port) &&
@@ -877,8 +877,8 @@ proxy_info_matches(const struct proxy_info* data,
}
static bool
-socks_proxy_info_matches(const struct proxy_info* data,
- const struct proxy_info* needle)
+socks_proxy_info_matches(const struct proxy_info *data,
+ const struct proxy_info *needle)
{
if(!proxy_info_matches(data, needle))
return FALSE;
@@ -2002,7 +2002,7 @@ static CURLcode setup_range(struct Curl_easy *data)
*/
static CURLcode setup_connection_internals(struct connectdata *conn)
{
- const struct Curl_handler * p;
+ const struct Curl_handler *p;
CURLcode result;
/* Perform setup complement if some. */