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

git at videolan.org git at videolan.org
Sun Apr 18 19:37:49 CEST 2010


vlc/vlc-1.1 | branch: master | Laurent Aimar <fenrir at videolan.org> | Sat Apr 17 23:19:56 2010 +0200| [751d0943e710a37d4fbb8befa71d962344feed79] | committer: Jean-Baptiste Kempf 

Fixed auto-reconnect mode in http.

TB.
(cherry picked from commit 86d1566ec0316b05d282ed4fd302c4527a6c711a)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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