Develop and Download Open Source Software

Browse Subversion Repository

Diff of /branches/RB-1.1/ftptype.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 66  int ftp_type(int sck, int t_type, int ve Line 66  int ftp_type(int sck, int t_type, int ve
66      switch(t_type) {      switch(t_type) {
67    
68      case ASCIITYPE:      case ASCIITYPE:
69          sprintf(cmd_type, "TYPE A\n");          sprintf(cmd_type, "TYPE A\r\n");
70          break;          break;
71    
72      case NPRINTYPE:      case NPRINTYPE:
73          sprintf(cmd_type, "TYPE N\n");          sprintf(cmd_type, "TYPE N\r\n");
74          break;          break;
75    
76      case IMAGETYPE:      case IMAGETYPE:
77          sprintf(cmd_type, "TYPE I\n");          sprintf(cmd_type, "TYPE I\r\n");
78          break;          break;
79    
80      case EBCDIC:      case EBCDIC:
81          sprintf(cmd_type, "TYPE E\n");          sprintf(cmd_type, "TYPE E\r\n");
82          break;          break;
83    
84      case TELNET:      case TELNET:
85          sprintf(cmd_type, "TYPE T\n");          sprintf(cmd_type, "TYPE T\r\n");
86          break;          break;
87    
88      default:      default:

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