[vlc-commits] http: update file test

Rémi Denis-Courmont git at videolan.org
Sun Jul 17 21:05:30 CEST 2016


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jul 17 22:05:22 2016 +0300| [42f3f8c901ea8a3c3c6182f92f0ccc83117ad0a8] | committer: Rémi Denis-Courmont

http: update file test

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

 modules/access/http/file_test.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/modules/access/http/file_test.c b/modules/access/http/file_test.c
index eb35257..21cfeb4 100644
--- a/modules/access/http/file_test.c
+++ b/modules/access/http/file_test.c
@@ -139,8 +139,7 @@ int main(void)
     assert(!vlc_http_file_can_seek(f));
     assert(vlc_http_file_get_size(f) == (uintmax_t)-1);
     str = vlc_http_file_get_redirect(f);
-    assert(str != NULL
-        && !strcmp(str, "https://www.example.com:8443/somewhere/else/"));
+    assert(str != NULL && !strcmp(str, "/somewhere/else/"));
     free(str);
     vlc_http_file_destroy(f);
 



More information about the vlc-commits mailing list