summaryrefslogtreecommitdiff
path: root/ares_process.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-08-29 15:17:47 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-08-29 15:17:47 +0000
commit1bec3073dc3ef1f22981f289edb8985b1ecb8a9b (patch)
tree398a3ad1efb43a0a09658799d2b9cc0e6469569d /ares_process.c
parent70a27de3c5cce31b22856f824bcf55e0540b593e (diff)
downloadc-ares-1bec3073dc3ef1f22981f289edb8985b1ecb8a9b.tar.gz
c-ares-1bec3073dc3ef1f22981f289edb8985b1ecb8a9b.tar.bz2
c-ares-1bec3073dc3ef1f22981f289edb8985b1ecb8a9b.zip
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
Diffstat (limited to 'ares_process.c')
-rw-r--r--ares_process.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ares_process.c b/ares_process.c
index 5f5f8d8..fb98e70 100644
--- a/ares_process.c
+++ b/ares_process.c
@@ -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;
}
}
}