From f09848204fa5283d21ea43e262ee41aa578e1808 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 26 Aug 2024 10:15:24 +0200 Subject: Merging upstream version 1.47.0. Signed-off-by: Daniel Baumann --- src/streaming/receiver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/streaming/receiver.c') diff --git a/src/streaming/receiver.c b/src/streaming/receiver.c index 2cbf247dc..50da031a7 100644 --- a/src/streaming/receiver.c +++ b/src/streaming/receiver.c @@ -70,7 +70,7 @@ static inline int read_stream(struct receiver_state *r, char* buffer, size_t siz ssize_t bytes_read; do { - errno = 0; + errno_clear(); switch(wait_on_socket_or_cancel_with_timeout( #ifdef ENABLE_HTTPS -- cgit v1.2.3