[vlc-commits] adaptative: fix tls regression
Francois Cartegnie
git at videolan.org
Tue May 12 23:00:02 CEST 2015
vlc | branch: master | Francois Cartegnie <fcvlcdev at 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 *)
More information about the vlc-commits
mailing list