Develop and Download Open Source Software

Browse Subversion Repository

Diff of /trunk/ftp_type.c

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

revision 17 by hirohitohigashi, Wed Feb 25 13:47:38 2009 UTC revision 20 by hirohitohigashi, Fri Feb 27 11:30:10 2009 UTC
# Line 64  int ftp_type( LIBOFTP *ftp, const char * Line 64  int ftp_type( LIBOFTP *ftp, const char *
64      /*      /*
65       * send TYPE command       * send TYPE command
66       */       */
67      if( sendn( ftp->socket, str1, strlen( str1 ), 0 ) < 0 ) {      if( ftp_send_command( ftp, str1 ) < 0 ) {
68          DEBUGPRINT1( "type: command sending error.%s\n", "" );          DEBUGPRINT1( "type: command sending error.%s\n", "" );
69          return -1;          return -1;
70      }      }

Legend:
Removed from v.17  
changed lines
  Added in v.20

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