Develop and Download Open Source Software

Browse Subversion Repository

Diff of /trunk_1/ftpcwd.c

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

trunk/ftpcwd.c revision 7 by hirohitohigashi, Fri Feb 20 12:10:40 2009 UTC trunk_1/ftpcwd.c revision 15 by hirohitohigashi, Wed Feb 25 13:29:32 2009 UTC
# Line 74  int ftp_cwd (int sck, char *Directory, i Line 74  int ftp_cwd (int sck, char *Directory, i
74      }      }
75    
76    
77      sprintf(buffer, "CWD %s\n", Directory);      sprintf(buffer, "CWD %s\r\n", Directory);
78    
79                    
80      if (write(sck, buffer, strlen(buffer)) == -1) {      if (write(sck, buffer, strlen(buffer)) == -1) {

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

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