Fix http_get_file

This commit is contained in:
twinaphex 2015-01-21 02:02:11 +01:00
parent 8d6e5811f2
commit 5e920393ac

View File

@ -39,7 +39,7 @@ http_retcode http_get_file(char *url, char **buf, int *len)
{
char *urlfilename = NULL;
if (!http_parse_url(url, &urlfilename))
if (http_parse_url(url, &urlfilename) != 0)
return ERRRDDT;
return http_get(urlfilename, buf, len, NULL);