Develop and Download Open Source Software

Browse Subversion Repository

Diff of /branches/RB-1.1/ftpget.c

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

revision 7 by hirohitohigashi, Fri Feb 20 12:10:40 2009 UTC revision 8 by hirohitohigashi, Fri Feb 20 14:38:01 2009 UTC
# Line 181  int ftp_get (int sck, char *FileName, in Line 181  int ftp_get (int sck, char *FileName, in
181    
182      flags |= O_NONBLOCK;      flags |= O_NONBLOCK;
183    
184      if ( fcntl (sock, F_SETFL, flags < 0 ) ) {      if ( fcntl (sock, F_SETFL, flags ) < 0 ) {
185          printf("--[ Non Blocking Socket Error.\n");          printf("--[ Non Blocking Socket Error.\n");
186          exit(1);          exit(1);
187      }      }

Legend:
Removed from v.7  
changed lines
  Added in v.8

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