Changeset 11558099f1300b01d15348d2c6938e6b9a17ad37

Show
Ignore:
Timestamp:
10/07/05 08:17:48 (3 years ago)
Author:
Rémi Denis-Courmont <rem@videolan.org>
git-committer:
Rémi Denis-Courmont <rem@videolan.org> 1120976268 +0000
git-parent:

[85c84889f0bff0bf944109e28822b41f741d7b38]

git-author:
Rémi Denis-Courmont <rem@videolan.org> 1120976268 +0000
Message:

Fix an old typo

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/access/ftp.c

    r85c8488 r1155809  
    563563    int  i_answer; 
    564564    char *psz_arg, *psz_parser; 
    565     unsigned  a1, a2, a3, a4, p1, p2; 
    566565    int  i_port; 
    567566 
    568     if( ( ftp_SendCommand( p_access, p_sys->psz_epsv_ip != NULL 
     567    psz_ip = p_sys->psz_epsv_ip; 
     568    if( ( ftp_SendCommand( p_access, ( psz_ip != NULL ) 
    569569                                     ? "EPSV" : "PASV" ) < 0 ) 
    570570     || ( ftp_ReadCommand( p_access, &i_answer, &psz_arg ) != 2 ) ) 
     
    582582    } 
    583583 
    584     psz_ip = p_sys->psz_epsv_ip; 
    585584    if( psz_ip != NULL ) 
    586585    { 
     
    597596    else 
    598597    { 
     598        unsigned  a1, a2, a3, a4, p1, p2; 
     599 
    599600        if( ( sscanf( psz_parser, "(%u,%u,%u,%u,%u,%u", &a1, &a2, &a3, &a4, 
    600601                      &p1, &p2 ) < 6 ) || ( a1 > 255 ) || ( a2 > 255 ) 
     
    659660    if( ftp_SendCommand( p_access, "ABOR" ) < 0 ) 
    660661    { 
    661         msg_Warn( p_access, "cannot abord file" ); 
     662        msg_Warn( p_access, "cannot abort file" ); 
    662663        if(  p_sys->fd_data > 0 ) 
    663664            net_Close( p_sys->fd_data );