[vlc-commits] https: flawed logic (alloc error)
Rémi Denis-Courmont
git at videolan.org
Thu Dec 31 15:06:01 CET 2015
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Dec 31 16:05:41 2015 +0200| [4349f7329dc4ac85a9eb86f853c82140c06cda91] | committer: Rémi Denis-Courmont
https: flawed logic (alloc error)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4349f7329dc4ac85a9eb86f853c82140c06cda91
---
modules/access/http/resource.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/access/http/resource.c b/modules/access/http/resource.c
index abd4a31..858e989 100644
--- a/modules/access/http/resource.c
+++ b/modules/access/http/resource.c
@@ -226,7 +226,7 @@ char *vlc_http_res_get_redirect(const struct vlc_http_resource *restrict res,
if (unlikely(asprintf(&url, "%s://%s%.*s",
res->secure ? "https" : "http", res->authority,
- (int)len, location)) < 0)
+ (int)len, location) < 0))
return NULL;
return url;
}
More information about the vlc-commits
mailing list