diff options
author | Yang Tse <yangsita@gmail.com> | 2008-07-10 08:21:48 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-07-10 08:21:48 +0000 |
commit | e30bbfd85d58cad36bd9b583f528dac0a39f80d5 (patch) | |
tree | 9a3464e438f0c92d785e658c59408fe918582c45 /ares/ares_send.c | |
parent | 120f9d81b211de9c722eccaa20dc5e993cf1d9a6 (diff) |
fix compiler warning
Diffstat (limited to 'ares/ares_send.c')
-rw-r--r-- | ares/ares_send.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ares/ares_send.c b/ares/ares_send.c index fe921b625..70518973a 100644 --- a/ares/ares_send.c +++ b/ares/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. |