diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-05-13 12:56:53 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-05-14 00:02:05 +0200 |
commit | 66b077576313eda129bce9f58fdc894d857cb121 (patch) | |
tree | ce4989ca7204ca1fcdcc47dcc50c72d8a8898a6c /lib/asyn-thread.c | |
parent | f3f5d82e2854991cd12ad5dcf022e8abbcea7038 (diff) | |
download | curl-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/asyn-thread.c')
-rw-r--r-- | lib/asyn-thread.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/asyn-thread.c b/lib/asyn-thread.c index 2138eb5cf..95bd23409 100644 --- a/lib/asyn-thread.c +++ b/lib/asyn-thread.c @@ -158,7 +158,7 @@ static bool init_resolve_thread(struct connectdata *conn, /* Data for synchronization between resolver thread and its parent */ struct thread_sync_data { - curl_mutex_t * mtx; + curl_mutex_t *mtx; int done; char *hostname; /* hostname to resolve, Curl_async.hostname @@ -190,7 +190,7 @@ static struct thread_sync_data *conn_thread_sync_data(struct connectdata *conn) /* Destroy resolver thread synchronization data */ static -void destroy_thread_sync_data(struct thread_sync_data * tsd) +void destroy_thread_sync_data(struct thread_sync_data *tsd) { if(tsd->mtx) { Curl_mutex_destroy(tsd->mtx); @@ -216,7 +216,7 @@ void destroy_thread_sync_data(struct thread_sync_data * tsd) /* Initialize resolver thread synchronization data */ static -int init_thread_sync_data(struct thread_data * td, +int init_thread_sync_data(struct thread_data *td, const char *hostname, int port, const struct addrinfo *hints) |