src/driver/netfile.cpp fix redirect url

Origin commit data
------------------
Commit: 5c49d9293a
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-03-11 (Fri, 11 Mar 2016)
This commit is contained in:
Jacek Jendrzej
2016-03-11 14:10:38 +01:00
parent d570467359
commit 6f4ce7e549

View File

@@ -419,7 +419,7 @@ int request_file(URL *url)
send(url->fd, str, strlen(str), 0);
if( (meta_int = parse_response(url, &id3, &tmp)) < 0)
return -1;
return meta_int;
if(meta_int)
{
@@ -493,7 +493,7 @@ int request_file(URL *url)
send(url->fd, str, strlen(str), 0);
if( (meta_int = parse_response(url, &id3, &tmp)) < 0)
return -1;
return meta_int;
if(meta_int)
{