[vlc-commits] tls: ClientSessionCreate: Use interruptible poll

Hugo Beauzée-Luyssen git at videolan.org
Fri Nov 3 17:03:31 CET 2017


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Thu Nov  2 13:58:35 2017 +0100| [1566265051bc75fe31f0695204ec5e03b756d133] | committer: Hugo Beauzée-Luyssen

tls: ClientSessionCreate: Use interruptible poll

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1566265051bc75fe31f0695204ec5e03b756d133
---

 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)
         {



More information about the vlc-commits mailing list