Develop and Download Open Source Software

Browse Subversion Repository

Diff of /tags/REL-2.2/ftp_quit.c

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

revision 18 by hirohitohigashi, Wed Feb 25 14:18:07 2009 UTC revision 20 by hirohitohigashi, Fri Feb 27 11:30:10 2009 UTC
# Line 43  int ftp_quit( LIBOFTP *ftp ) Line 43  int ftp_quit( LIBOFTP *ftp )
43      /*      /*
44       * send QUIT command       * send QUIT command
45       */       */
46      if( sendn( ftp->socket, str1, strlen( str1 ), 0 ) < 0 ) {      if( ftp_send_command( ftp, str1 ) < 0 ) {
47          DEBUGPRINT1( "quit: command sending error. %s\n", str1 );          DEBUGPRINT1( "quit: command sending error. %s\n", str1 );
48          return -1;          return -1;
49      }      }

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

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