mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +02:00
src/driver/netfile.cpp fix redirect url
This commit is contained in:
@@ -419,7 +419,7 @@ int request_file(URL *url)
|
|||||||
send(url->fd, str, strlen(str), 0);
|
send(url->fd, str, strlen(str), 0);
|
||||||
|
|
||||||
if( (meta_int = parse_response(url, &id3, &tmp)) < 0)
|
if( (meta_int = parse_response(url, &id3, &tmp)) < 0)
|
||||||
return -1;
|
return meta_int;
|
||||||
|
|
||||||
if(meta_int)
|
if(meta_int)
|
||||||
{
|
{
|
||||||
@@ -493,7 +493,7 @@ int request_file(URL *url)
|
|||||||
send(url->fd, str, strlen(str), 0);
|
send(url->fd, str, strlen(str), 0);
|
||||||
|
|
||||||
if( (meta_int = parse_response(url, &id3, &tmp)) < 0)
|
if( (meta_int = parse_response(url, &id3, &tmp)) < 0)
|
||||||
return -1;
|
return meta_int;
|
||||||
|
|
||||||
if(meta_int)
|
if(meta_int)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user