Browse Subversion Repository
Diff of /trunk/sub.c
Parent Directory
| Revision Log
| Patch
| 157 |
* receive 1st line. |
* receive 1st line. |
| 158 |
*/ |
*/ |
| 159 |
if( (n = recv_line( ftp->socket, str1, sizeof(str1), 0 )) < 0 ) { |
if( (n = recv_line( ftp->socket, str1, sizeof(str1), 0 )) < 0 ) { |
| 160 |
|
if( errno == EAGAIN ) { |
| 161 |
|
return LIBOFTP_ERROR_TIMEOUT; |
| 162 |
|
} |
| 163 |
copy_strerror(); |
copy_strerror(); |
| 164 |
return LIBOFTP_ERROR_OS; |
return LIBOFTP_ERROR_OS; |
| 165 |
} |
} |
| 175 |
if( str1[3] == '-' ) { |
if( str1[3] == '-' ) { |
| 176 |
while( 1 ) { |
while( 1 ) { |
| 177 |
if( (n = recv_line( ftp->socket, str1, sizeof(str1), 0 )) < 0 ) { |
if( (n = recv_line( ftp->socket, str1, sizeof(str1), 0 )) < 0 ) { |
| 178 |
|
if( errno == EAGAIN ) { |
| 179 |
|
return LIBOFTP_ERROR_TIMEOUT; |
| 180 |
|
} |
| 181 |
copy_strerror(); |
copy_strerror(); |
| 182 |
return LIBOFTP_ERROR_OS; |
return LIBOFTP_ERROR_OS; |
| 183 |
} |
} |
|
|
Legend:
| Removed from v.30 |
|
| changed lines |
| |
Added in v.36 |
|
|
| |