diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-07-24 21:47:49 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-07-24 21:47:49 +0000 |
commit | b3b2ba31f7f666f31e187db9c223062553966566 (patch) | |
tree | 6acdfb45246bcf76087412ae8cbdd4cf31dd3e17 /ares/ares__get_hostent.c | |
parent | 7f78bc3c6d167760a41a5183d21b3ecfe2718a7c (diff) |
Gisle Vanem:
Basically in loops like handle_errors(), 'query->next' was assigned a local
variable and then query was referenced after the memory was freed by
next_server(). I've changed that so next_server() and end_query() returns the
next query. So callers should use this ret-value.
The next problem was that 'server->tcp_buffer_pos' had a random value at entry
to 1st recv() (luckily causing Winsock to return ENOBUFS).
I've also added a ares_writev() for Windows to streamline the code
a bit more.
Diffstat (limited to 'ares/ares__get_hostent.c')
0 files changed, 0 insertions, 0 deletions