vlc | branch: master | Francois Cartegnie <fcvlc...@free.fr> | Tue May 12 
22:58:56 2015 +0200| [aba0ddc221d2cf4c51fffecc463bb3a425cec647] | committer: 
Francois Cartegnie

adaptative: fix tls regression

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

 modules/demux/adaptative/http/Sockets.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/adaptative/http/Sockets.cpp 
b/modules/demux/adaptative/http/Sockets.cpp
index 9d7f47e..84cd147 100644
--- a/modules/demux/adaptative/http/Sockets.cpp
+++ b/modules/demux/adaptative/http/Sockets.cpp
@@ -130,7 +130,7 @@ bool TLSSocket::connected() const
 
 ssize_t TLSSocket::read(vlc_object_t *, void *p_buffer, size_t len)
 {
-    return vlc_tls_Read(tls, p_buffer, len, true) == (ssize_t)len;
+    return vlc_tls_Read(tls, p_buffer, len, true);
 }
 
 std::string TLSSocket::readline(vlc_object_t *)

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to