diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-02-18 13:14:55 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-02-18 15:02:17 +0100 |
commit | 692faeab9f07c23feddc4814e16a138a30cbab06 (patch) | |
tree | 0faaf769335ed1ed3c9aca7803c784401d96aefd /lib/hostip.h | |
parent | 7db6bc5ecaef321f32639149ba3737b1c8393b9c (diff) | |
download | curl-692faeab9f07c23feddc4814e16a138a30cbab06.tar.gz |
asyn-ares: use consistent resolve error message
... with the help of Curl_resolver_error() which now is moved from
asyn-thead.c and is provided globally for this purpose.
Follow-up to 35ca04ce1b77636
Makes test 1188 work for c-ares builds
Closes #6626
Diffstat (limited to 'lib/hostip.h')
-rw-r--r-- | lib/hostip.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/hostip.h b/lib/hostip.h index c495c21e0..c0fd3c8c4 100644 --- a/lib/hostip.h +++ b/lib/hostip.h @@ -245,4 +245,5 @@ CURLcode Curl_resolv_check(struct Curl_easy *data, int Curl_resolv_getsock(struct Curl_easy *data, curl_socket_t *socks); +CURLcode Curl_resolver_error(struct Curl_easy *data); #endif /* HEADER_CURL_HOSTIP_H */ |