[vlc-commits] commit: Fixed auto-reconnect mode in http. (Laurent Aimar )

git at videolan.org git at videolan.org
Sat Apr 17 23:24:06 CEST 2010


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sat Apr 17 23:19:56 2010 +0200| [86d1566ec0316b05d282ed4fd302c4527a6c711a] | committer: Laurent Aimar 

Fixed auto-reconnect mode in http.

TB.

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

 modules/access/http.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/modules/access/http.c b/modules/access/http.c
index 8030e65..4b44006 100644
--- a/modules/access/http.c
+++ b/modules/access/http.c
@@ -872,6 +872,8 @@ static ssize_t Read( access_t *p_access, uint8_t *p_buffer, size_t i_len )
                 p_sys->b_reconnect = false;
                 i_read = Read( p_access, p_buffer, i_len );
                 p_sys->b_reconnect = true;
+
+                return i_read;
             }
         }
 



More information about the vlc-commits mailing list