[vlc-commits] commit: FTP: fix directory support ( Rémi Denis-Courmont )
git at videolan.org
git at videolan.org
Tue Aug 3 22:56:14 CEST 2010
vlc/vlc-1.1 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Aug 3 23:51:51 2010 +0300| [2aa35fe903cdda7d6b3b09434804278aa38fe2bc] | committer: Rémi Denis-Courmont
FTP: fix directory support
(cherry picked from commit 421d5ae77d686b592aaa4fa45ac4a2c1c3629fe0)
> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=2aa35fe903cdda7d6b3b09434804278aa38fe2bc
---
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 37f9125..fbe3133 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