mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-09-29 13:14:56 +02:00
- Fix compile warning for type cast in http2_submit_dns_response.
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
27 November 2020: Wouter
|
||||
- Fix compile warning for type cast in http2_submit_dns_response.
|
||||
|
||||
26 November 2020: Wouter
|
||||
- Fix to omit UDP receive errors from log, if verbosity low.
|
||||
These happen because of udp-connect.
|
||||
|
||||
@@ -2208,7 +2208,7 @@ int http2_submit_dns_response(struct http2_session* h2_session)
|
||||
}
|
||||
|
||||
rlen = sldns_buffer_remaining(h2_session->c->buffer);
|
||||
snprintf(rlen_str, sizeof(rlen_str), "%u", rlen);
|
||||
snprintf(rlen_str, sizeof(rlen_str), "%u", (unsigned)rlen);
|
||||
|
||||
lock_basic_lock(&http2_response_buffer_count_lock);
|
||||
if(http2_response_buffer_count + rlen > http2_response_buffer_max) {
|
||||
|
||||
Reference in New Issue
Block a user