[vlc-commits] commit: FTP: fix directory support ( Rémi Denis-Courmont )
git at videolan.org
git at videolan.org
Tue Aug 3 22:54:09 CEST 2010
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Aug 3 23:51:51 2010 +0300| [421d5ae77d686b592aaa4fa45ac4a2c1c3629fe0] | committer: Rémi Denis-Courmont
FTP: fix directory support
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=421d5ae77d686b592aaa4fa45ac4a2c1c3629fe0
---
modules/access/ftp.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/access/ftp.c b/modules/access/ftp.c
index 127ee35..4aadde7 100644
--- a/modules/access/ftp.c
+++ b/modules/access/ftp.c
@@ -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 );
More information about the vlc-commits
mailing list