diff options
Diffstat (limited to 'src/streaming/receiver.c')
-rw-r--r-- | src/streaming/receiver.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |