Develop and Download Open Source Software

Browse Subversion Repository

Diff of /trunk/ftp_put_buffer.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 45 by hirohitohigashi, Wed Mar 4 05:00:43 2009 UTC
# Line 43  Line 43 
43   *@retval       int     エラーコード   *@retval       int     エラーコード
44   *@note   *@note
45   */   */
46  static int ftp_put_buffer_main( LIBOFTP *ftp, char *buf, int bufsiz, const char *fname, const char *cmd )  static int ftp_put_buffer_main( LIBOFTP *ftp, const char *buf, int bufsiz, const char *fname, const char *cmd )
47  {  {
48      int data_socket;      int data_socket;
49      char *p = buf;      const char *p = buf;
50      int n, res;      int n, res;
51    
52      /*      /*
# Line 112  static int ftp_put_buffer_main( LIBOFTP Line 112  static int ftp_put_buffer_main( LIBOFTP
112   *@retval       int     エラーコード   *@retval       int     エラーコード
113   *@note   *@note
114   */   */
115  int ftp_put_buffer( LIBOFTP *ftp, char *buf, int bufsiz, const char *fname )  int ftp_put_buffer( LIBOFTP *ftp, const char *buf, int bufsiz, const char *fname )
116  {  {
117      return ftp_put_buffer_main( ftp, buf, bufsiz, fname, "STOR" );      return ftp_put_buffer_main( ftp, buf, bufsiz, fname, "STOR" );
118  }  }
# Line 129  int ftp_put_buffer( LIBOFTP *ftp, char * Line 129  int ftp_put_buffer( LIBOFTP *ftp, char *
129   *@retval       int     エラーコード   *@retval       int     エラーコード
130   *@note   *@note
131   */   */
132  int ftp_append_buffer( LIBOFTP *ftp, char *buf, int bufsiz, const char *fname )  int ftp_append_buffer( LIBOFTP *ftp, const char *buf, int bufsiz, const char *fname )
133  {  {
134      return ftp_put_buffer_main( ftp, buf, bufsiz, fname, "APPE" );      return ftp_put_buffer_main( ftp, buf, bufsiz, fname, "APPE" );
135  }  }

Legend:
Removed from v.30  
changed lines
  Added in v.45

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