Commit 7b905069 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* Send \r\n after ftp commands, not \n.

parent 6185633a
...@@ -406,7 +406,7 @@ static int ftp_SendCommand( access_t *p_access, char *psz_fmt, ... ) ...@@ -406,7 +406,7 @@ static int ftp_SendCommand( access_t *p_access, char *psz_fmt, ... )
if( ( i_ret = net_Printf( VLC_OBJECT(p_access), p_sys->fd_cmd, if( ( i_ret = net_Printf( VLC_OBJECT(p_access), p_sys->fd_cmd,
"%s", psz_cmd ) ) > 0 ) "%s", psz_cmd ) ) > 0 )
{ {
i_ret = net_Printf( VLC_OBJECT(p_access), p_sys->fd_cmd, "\n" ); i_ret = net_Printf( VLC_OBJECT(p_access), p_sys->fd_cmd, "\r\n" );
} }
if( i_ret < 0 ) if( i_ret < 0 )
......
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