Loading ares/CHANGES +8 −0 Original line number Diff line number Diff line Changelog for the c-ares project * August 29 2006 - Brad Spencer did o made ares_version.h use extern "C" for c++ compilers o fixed compiler warnings in ares_getnameinfo.c o fixed a buffer position init for TCP reads * August 3 2006 - Ravi Pratap fixed ares_getsock() to actually return the proper bitmap and Loading ares/ares_getnameinfo.c +2 −2 Original line number Diff line number Diff line Loading @@ -81,8 +81,8 @@ static char *ares_striendstr(const char *s1, const char *s2); void ares_getnameinfo(ares_channel channel, const struct sockaddr *sa, socklen_t salen, int flags, ares_nameinfo_callback callback, void *arg) { struct sockaddr_in *addr = NULL; struct sockaddr_in6 *addr6 = NULL; struct sockaddr_in *addr; struct sockaddr_in6 *addr6; struct nameinfo_query *niquery; /* Verify the buffer size */ Loading ares/ares_process.c +1 −0 Original line number Diff line number Diff line Loading @@ -297,6 +297,7 @@ static void read_tcp_data(ares_channel channel, fd_set *read_fds, time_t now) free(server->tcp_buffer); server->tcp_buffer = NULL; server->tcp_lenbuf_pos = 0; server->tcp_buffer_pos = 0; } } } Loading ares/ares_version.h +8 −0 Original line number Diff line number Diff line Loading @@ -11,7 +11,15 @@ (ARES_VERSION_PATCH)) #define ARES_VERSION_STR "1.3.1" #ifdef __cplusplus extern "C" { #endif const char *ares_version(int *version); #ifdef __cplusplus } #endif #endif Loading
ares/CHANGES +8 −0 Original line number Diff line number Diff line Changelog for the c-ares project * August 29 2006 - Brad Spencer did o made ares_version.h use extern "C" for c++ compilers o fixed compiler warnings in ares_getnameinfo.c o fixed a buffer position init for TCP reads * August 3 2006 - Ravi Pratap fixed ares_getsock() to actually return the proper bitmap and Loading
ares/ares_getnameinfo.c +2 −2 Original line number Diff line number Diff line Loading @@ -81,8 +81,8 @@ static char *ares_striendstr(const char *s1, const char *s2); void ares_getnameinfo(ares_channel channel, const struct sockaddr *sa, socklen_t salen, int flags, ares_nameinfo_callback callback, void *arg) { struct sockaddr_in *addr = NULL; struct sockaddr_in6 *addr6 = NULL; struct sockaddr_in *addr; struct sockaddr_in6 *addr6; struct nameinfo_query *niquery; /* Verify the buffer size */ Loading
ares/ares_process.c +1 −0 Original line number Diff line number Diff line Loading @@ -297,6 +297,7 @@ static void read_tcp_data(ares_channel channel, fd_set *read_fds, time_t now) free(server->tcp_buffer); server->tcp_buffer = NULL; server->tcp_lenbuf_pos = 0; server->tcp_buffer_pos = 0; } } } Loading
ares/ares_version.h +8 −0 Original line number Diff line number Diff line Loading @@ -11,7 +11,15 @@ (ARES_VERSION_PATCH)) #define ARES_VERSION_STR "1.3.1" #ifdef __cplusplus extern "C" { #endif const char *ares_version(int *version); #ifdef __cplusplus } #endif #endif