Commit 2aa35fe9 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

FTP: fix directory support

(cherry picked from commit 421d5ae77d686b592aaa4fa45ac4a2c1c3629fe0)
parent 3a31af06
......@@ -525,7 +525,7 @@ static ssize_t Read( access_t *p_access, uint8_t *p_buffer, size_t i_len )
}
else
{
snprintf( (char*)p_buffer, i_len, "ftp://%s:%d%s/%s\n",
snprintf( (char*)p_buffer, i_len, "ftp://%s:%d/%s/%s\n",
p_sys->url.psz_host, p_sys->url.i_port,
p_sys->url.psz_path, psz_line );
free( psz_line );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment