summaryrefslogtreecommitdiff
path: root/lib/urldata.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-11-23 14:54:10 +0100
committerDaniel Stenberg <daniel@haxx.se>2020-11-23 22:54:18 +0100
commit37cdc2a05c964a7212848149725e8072741f4213 (patch)
treeb55645c0e67f8d561b67a903fc04b9c43ada855f /lib/urldata.h
parent3e092adf673ead8b25167df9583ac6ac1ba77261 (diff)
downloadcurl-37cdc2a05c964a7212848149725e8072741f4213.tar.gz
asyn: use 'struct thread_data *' instead of 'void *'
To reduce use of types that can't be checked at compile time. Also removes several typecasts. ... and rename the struct field from 'os_specific' to 'tdata'. Closes #6239 Reviewed-by: Jay Satiro
Diffstat (limited to 'lib/urldata.h')
-rw-r--r--lib/urldata.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/urldata.h b/lib/urldata.h
index 805957153..f085c093c 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -519,7 +519,7 @@ struct Curl_async {
int port;
struct Curl_dns_entry *dns;
int status; /* if done is TRUE, this is the status from the callback */
- void *os_specific; /* 'struct thread_data' for Windows */
+ struct thread_data *tdata;
BIT(done); /* set TRUE when the lookup is complete */
};