From 09dce84e51e50938f2c2a1f92680776b2aee6a42 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Tue, 17 Jun 2008 19:33:08 +0300 Subject: [PATCH] HTTP: do not send a negative byte range --- modules/access/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/access/http.c b/modules/access/http.c index 78762c1ad4..2b7768ab6b 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 */ -- 2.39.2