Changeset 11558099f1300b01d15348d2c6938e6b9a17ad37
- 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
| r85c8488 |
r1155809 |
|
| 563 | 563 | int i_answer; |
|---|
| 564 | 564 | char *psz_arg, *psz_parser; |
|---|
| 565 | | unsigned a1, a2, a3, a4, p1, p2; |
|---|
| 566 | 565 | int i_port; |
|---|
| 567 | 566 | |
|---|
| 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 ) |
|---|
| 569 | 569 | ? "EPSV" : "PASV" ) < 0 ) |
|---|
| 570 | 570 | || ( ftp_ReadCommand( p_access, &i_answer, &psz_arg ) != 2 ) ) |
|---|
| … | … | |
| 582 | 582 | } |
|---|
| 583 | 583 | |
|---|
| 584 | | psz_ip = p_sys->psz_epsv_ip; |
|---|
| 585 | 584 | if( psz_ip != NULL ) |
|---|
| 586 | 585 | { |
|---|
| … | … | |
| 597 | 596 | else |
|---|
| 598 | 597 | { |
|---|
| | 598 | unsigned a1, a2, a3, a4, p1, p2; |
|---|
| | 599 | |
|---|
| 599 | 600 | if( ( sscanf( psz_parser, "(%u,%u,%u,%u,%u,%u", &a1, &a2, &a3, &a4, |
|---|
| 600 | 601 | &p1, &p2 ) < 6 ) || ( a1 > 255 ) || ( a2 > 255 ) |
|---|
| … | … | |
| 659 | 660 | if( ftp_SendCommand( p_access, "ABOR" ) < 0 ) |
|---|
| 660 | 661 | { |
|---|
| 661 | | msg_Warn( p_access, "cannot abord file" ); |
|---|
| | 662 | msg_Warn( p_access, "cannot abort file" ); |
|---|
| 662 | 663 | if( p_sys->fd_data > 0 ) |
|---|
| 663 | 664 | net_Close( p_sys->fd_data ); |
|---|