diff options
Diffstat (limited to 'lib/hostip6.c')
-rw-r--r-- | lib/hostip6.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/hostip6.c b/lib/hostip6.c index b013ee902..3d80166c1 100644 --- a/lib/hostip6.c +++ b/lib/hostip6.c @@ -116,7 +116,7 @@ Curl_addrinfo *Curl_addrinfo_copy(void *source, int port) * family otherwise present in memdebug.c. I put these ones here since they * require a bunch of structs I didn't wanna include in memdebug.c */ -int curl_dogetaddrinfo(char *hostname, char *service, +int curl_dogetaddrinfo(const char *hostname, const char *service, struct addrinfo *hints, struct addrinfo **result, int line, const char *source) @@ -222,7 +222,7 @@ static void dump_addrinfo(struct connectdata *conn, const struct addrinfo *ai) * Curl_freeaddrinfo(), nothing else. */ Curl_addrinfo *Curl_getaddrinfo(struct connectdata *conn, - char *hostname, + const char *hostname, int port, int *waitp) { |