Develop and Download Open Source Software

Browse Subversion Repository

Diff of /trunk/ftp_timeout.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 30 by hirohitohigashi, Sat Feb 28 13:03:02 2009 UTC revision 50 by hirohitohigashi, Wed Dec 2 15:13:30 2009 UTC
# Line 42  int ftp_timeout( LIBOFTP *ftp, int sec ) Line 42  int ftp_timeout( LIBOFTP *ftp, int sec )
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

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26