Develop and Download Open Source Software

Browse Subversion Repository

Diff of /trunk/ftp_pwd.c

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

revision 19 by hirohitohigashi, Wed Feb 25 14:45:21 2009 UTC revision 20 by hirohitohigashi, Fri Feb 27 11:30:10 2009 UTC
# Line 45  int ftp_pwd( LIBOFTP *ftp, char *buf, in Line 45  int ftp_pwd( LIBOFTP *ftp, char *buf, in
45      /*      /*
46       * send PWD command       * send PWD command
47       */       */
48      if( sendn( ftp->socket, str1, strlen( str1 ), 0 ) < 0 ) {      if( ftp_send_command( ftp, str1 ) < 0 ) {
49          DEBUGPRINT1( "pwd: command sending error. %s\n", str1 );          DEBUGPRINT1( "pwd: command sending error. %s\n", str1 );
50          return -1;          return -1;
51      }      }

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

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