]> git.sesse.net Git - vlc/commitdiff
* Send \r\n after ftp commands, not \n.
authorDerk-Jan Hartman <hartman@videolan.org>
Sat, 14 Aug 2004 19:58:39 +0000 (19:58 +0000)
committerDerk-Jan Hartman <hartman@videolan.org>
Sat, 14 Aug 2004 19:58:39 +0000 (19:58 +0000)
modules/access/ftp.c

index 528c34b1c3da0105e8a5d410a9c5a472a4328ea6..77e74160a949f4eca59f1ca6271d9d1ed4aeb505 100644 (file)
@@ -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,
                               "%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 )