Develop and Download Open Source Software

Browse Subversion Repository

Diff of /branches/ssh_chacha20poly1305/ttssh2/ttxssh/ttxssh.c

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

revision 3061 by maya, Thu Nov 1 12:28:30 2007 UTC revision 3065 by maya, Mon Nov 5 00:51:38 2007 UTC
# Line 3447  static void PASCAL FAR TTXSetCommandLine Line 3447  static void PASCAL FAR TTXSetCommandLine
3447          char tmpFile[MAX_PATH];          char tmpFile[MAX_PATH];
3448          char tmpPath[1024];          char tmpPath[1024];
3449          char *buf;          char *buf;
3450            char *p;
3451          int i;          int i;
3452          GET_VAR();          GET_VAR();
3453    
# Line 3472  static void PASCAL FAR TTXSetCommandLine Line 3473  static void PASCAL FAR TTXSetCommandLine
3473                  strncat_s(cmd, cmdlen, buf, _TRUNCATE);                  strncat_s(cmd, cmdlen, buf, _TRUNCATE);
3474    
3475                  // コマンドラインでの指定をチェック                  // コマンドラインでの指定をチェック
3476                  if (strstr(buf, " /ssh")) {                  if (p = strstr(buf, " /ssh")) {
3477                          ssh_enable = 1;                          switch (*(p + 5)) {
3478                                    case '\0':
3479                                    case ' ':
3480                                    case '1':
3481                                    case '2':
3482                                            ssh_enable = 1;
3483                            }
3484                  }                  }
3485                  else if (strstr(buf, " /nossh") ||                  else if (strstr(buf, " /nossh") ||
3486                           strstr(buf, " /telnet")) {                           strstr(buf, " /telnet")) {

Legend:
Removed from v.3061  
changed lines
  Added in v.3065

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