mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-05-28 04:02:33 -04:00
- For #1318: Fix compile warnings for DoH compile on windows.
This commit is contained in:
parent
65be1d0ec3
commit
ebfa09e04f
2 changed files with 5 additions and 2 deletions
|
|
@ -1,3 +1,6 @@
|
|||
22 August 2025: Wouter
|
||||
- For #1318: Fix compile warnings for DoH compile on windows.
|
||||
|
||||
21 August 2025: Wouter
|
||||
- Fix to check for extraneous command arguments for unbound-control,
|
||||
when the command takes no arguments but there are arguments present.
|
||||
|
|
|
|||
|
|
@ -5194,7 +5194,7 @@ ssize_t http2_recv_cb(nghttp2_session* ATTR_UNUSED(session), uint8_t* buf,
|
|||
}
|
||||
#endif /* HAVE_SSL */
|
||||
|
||||
ret = recv(h2_session->c->fd, buf, len, MSG_DONTWAIT);
|
||||
ret = recv(h2_session->c->fd, (void*)buf, len, MSG_DONTWAIT);
|
||||
if(ret == 0) {
|
||||
return NGHTTP2_ERR_EOF;
|
||||
} else if(ret < 0) {
|
||||
|
|
@ -5522,7 +5522,7 @@ ssize_t http2_send_cb(nghttp2_session* ATTR_UNUSED(session), const uint8_t* buf,
|
|||
}
|
||||
#endif /* HAVE_SSL */
|
||||
|
||||
ret = send(h2_session->c->fd, buf, len, 0);
|
||||
ret = send(h2_session->c->fd, (void*)buf, len, 0);
|
||||
if(ret == 0) {
|
||||
return NGHTTP2_ERR_CALLBACK_FAILURE;
|
||||
} else if(ret < 0) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue