Browse Subversion Repository
Diff of /trunk/ftp_timeout.c
Parent Directory
| Revision Log
| Patch
| 42 |
struct timeval tval; |
struct timeval tval; |
| 43 |
|
|
| 44 |
ftp->timeout_sec = sec; |
ftp->timeout_sec = sec; |
| 45 |
if( ftp->socket <= 0 ) { |
if( ftp->socket < 0 ) { |
| 46 |
return LIBOFTP_NOERROR; |
return LIBOFTP_NOERROR; |
| 47 |
} |
} |
| 48 |
|
|
|
|
Legend:
| Removed from v.30 |
|
| changed lines |
| |
Added in v.50 |
|
|
|