mirror of
https://github.com/curl/curl.git
synced 2026-08-25 05:23:32 +03:00
fixes
This commit is contained in:
parent
a5e3bb85ce
commit
abf8d0315d
5 changed files with 6 additions and 6 deletions
|
|
@ -388,7 +388,7 @@ create_resp(int qid, const struct sockaddr *addr, curl_socklen_t addrlen,
|
|||
for(a = 0; a < ancount_a; a++) {
|
||||
const unsigned char *store = ipv4_pref;
|
||||
add_answer(bytes, &i, store, sizeof(ipv4_pref), QTYPE_A);
|
||||
logmsg("[%d] response A (%x) '%s'", qid, QTYPE_A,
|
||||
logmsg("[%d] response A (%x) '%s'", qid, (unsigned int)QTYPE_A,
|
||||
curlx_inet_ntop(AF_INET, store, addrbuf, sizeof(addrbuf)));
|
||||
}
|
||||
if(!ancount_a)
|
||||
|
|
@ -400,7 +400,7 @@ create_resp(int qid, const struct sockaddr *addr, curl_socklen_t addrlen,
|
|||
for(a = 0; a < ancount_aaaa; a++) {
|
||||
const unsigned char *store = ipv6_pref;
|
||||
add_answer(bytes, &i, store, sizeof(ipv6_pref), QTYPE_AAAA);
|
||||
logmsg("[%d] response AAAA (%x) '%s'", qid, QTYPE_AAAA,
|
||||
logmsg("[%d] response AAAA (%x) '%s'", qid, (unsigned int)QTYPE_AAAA,
|
||||
curlx_inet_ntop(AF_INET6, store, addrbuf, sizeof(addrbuf)));
|
||||
}
|
||||
if(!ancount_aaaa)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue