[vlc-devel] [PATCH 4/5] tls: ClientSessionCreate: Use interruptible poll

Hugo Beauzée-Luyssen hugo at beauzee.fr
Thu Nov 2 14:35:30 CET 2017


---
 src/network/tls.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/network/tls.c b/src/network/tls.c
index 48fba2e3e8..56e04d6ce7 100644
--- a/src/network/tls.c
+++ b/src/network/tls.c
@@ -205,7 +205,7 @@ error:
         ufd[0] .events = (val == 1) ? POLLIN : POLLOUT;
 
         vlc_restorecancel(canc);
-        val = poll (ufd, 1, (deadline - now) / 1000);
+        val = vlc_poll_i11e(ufd, 1, (deadline - now) / 1000);
         canc = vlc_savecancel();
         if (val == 0)
         {
-- 
2.11.0



More information about the vlc-devel mailing list