[vlc-devel] commit: HTTP: do not send a negative byte range ( Rémi Denis-Courmont )

git version control git at videolan.org
Tue Jun 17 18:31:13 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Tue Jun 17 19:33:08 2008 +0300| [09dce84e51e50938f2c2a1f92680776b2aee6a42]

HTTP: do not send a negative byte range

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

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

diff --git a/modules/access/http.c b/modules/access/http.c
index 78762c1..2b7768a 100644
--- a/modules/access/http.c
+++ b/modules/access/http.c
@@ -1141,7 +1141,7 @@ static int Request( access_t *p_access, int64_t i_tell )
     if( p_sys->i_version == 1 )
     {
         net_Printf( VLC_OBJECT(p_access), p_sys->fd, pvs,
-                    "Range: bytes=%"PRId64"-\r\n", i_tell );
+                    "Range: bytes=%"PRIu64"-\r\n", i_tell );
     }
 
     /* Cookies */




More information about the vlc-devel mailing list