summaryrefslogtreecommitdiff
path: root/ares_send.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-07-10 08:21:48 +0000
committerYang Tse <yangsita@gmail.com>2008-07-10 08:21:48 +0000
commit2265b9281c8172709a90ccab4255e74527a24841 (patch)
tree9e9df76dd9f6f91740e2e7c74bd5eb0ed28faf53 /ares_send.c
parent8ee63e432d05f9ecbc107ec567b207ef75b0c1b7 (diff)
downloadc-ares-2265b9281c8172709a90ccab4255e74527a24841.tar.gz
c-ares-2265b9281c8172709a90ccab4255e74527a24841.tar.bz2
c-ares-2265b9281c8172709a90ccab4255e74527a24841.zip
fix compiler warning
Diffstat (limited to 'ares_send.c')
-rw-r--r--ares_send.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ares_send.c b/ares_send.c
index fe921b6..7051897 100644
--- a/ares_send.c
+++ b/ares_send.c
@@ -74,7 +74,8 @@ void ares_send(ares_channel channel, const unsigned char *qbuf, int qlen,
/* Compute the query ID. Start with no timeout. */
query->qid = (unsigned short)DNS_HEADER_QID(qbuf);
- query->timeout.tv_sec = query->timeout.tv_usec = 0;
+ query->timeout.tv_sec = 0;
+ query->timeout.tv_usec = 0;
/* Form the TCP query buffer by prepending qlen (as two
* network-order bytes) to qbuf.