mirror of
https://github.com/curl/curl.git
synced 2026-07-16 01:47:16 +03:00
ares_free_string() now takes a void * instead
This commit is contained in:
parent
79f9914af8
commit
c23cf6a058
2 changed files with 2 additions and 2 deletions
|
|
@ -122,7 +122,7 @@ int ares_parse_a_reply(const unsigned char *abuf, int alen,
|
|||
struct hostent **host);
|
||||
int ares_parse_ptr_reply(const unsigned char *abuf, int alen, const void *addr,
|
||||
int addrlen, int family, struct hostent **host);
|
||||
void ares_free_string(char *str);
|
||||
void ares_free_string(void *str);
|
||||
void ares_free_hostent(struct hostent *host);
|
||||
const char *ares_strerror(int code);
|
||||
void ares_free_errmem(char *mem);
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
#include <stdlib.h>
|
||||
#include "ares.h"
|
||||
|
||||
void ares_free_string(char *str)
|
||||
void ares_free_string(void *str)
|
||||
{
|
||||
free(str);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue