1
0
Fork 0
libreoffice/external/curl/emscripten-proxy-poll.patch.0
Daniel Baumann 8e63e14cf6
Adding upstream version 4:25.2.3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-22 16:20:04 +02:00

20 lines
556 B
Text

--- lib/select.c
+++ lib/select.c
@@ -51,6 +51,8 @@
#include "curl_printf.h"
#include "curl_memory.h"
#include "memdebug.h"
+
+int websocket_proxy_poll(struct pollfd *fds, nfds_t nfds, int timeout);
/*
* Internal function used for waiting a specific amount of ms
@@ -318,7 +320,7 @@
pending_ms = -1;
else
pending_ms = 0;
- r = poll(ufds, nfds, pending_ms);
+ r = websocket_proxy_poll(ufds, nfds, pending_ms);
if(r <= 0) {
if((r == -1) && (SOCKERRNO == EINTR))
/* make EINTR from select or poll not a "lethal" error */