Commit 421d5ae7 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

FTP: fix directory support

parent 8cb56e31
...@@ -525,7 +525,7 @@ static ssize_t Read( access_t *p_access, uint8_t *p_buffer, size_t i_len ) ...@@ -525,7 +525,7 @@ static ssize_t Read( access_t *p_access, uint8_t *p_buffer, size_t i_len )
} }
else 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_host, p_sys->url.i_port,
p_sys->url.psz_path, psz_line ); p_sys->url.psz_path, psz_line );
free( 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