Develop and Download Open Source Software

Browse Subversion Repository

Diff of /trunk_1/ftpdel.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 11 by hirohitohigashi, Mon Feb 23 02:05:06 2009 UTC
# Line 69  int ftp_del (int sck, char *FileName, in Line 69  int ftp_del (int sck, char *FileName, in
69          return DIR_TOO_LONG;          return DIR_TOO_LONG;
70      }      }
71    
72      sprintf(buffer, "DELE %s\n", FileName);      sprintf(buffer, "DELE %s\r\n", FileName);
73    
74      if (write(sck, buffer, strlen(buffer)) == -1) {      if (write(sck, buffer, strlen(buffer)) == -1) {
75                                    

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

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