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 4106 by yutakapon, Mon Sep 27 10:26:38 2010 UTC revision 4151 by doda, Wed Nov 10 06:20:21 2010 UTC
# Line 1529  static int parse_option(PTInstVar pvar, Line 1529  static int parse_option(PTInstVar pvar,
1529                                  read_ssh_options_from_user_file(pvar, option + 13);                                  read_ssh_options_from_user_file(pvar, option + 13);
1530                                  DeleteFile(option + 13);                                  DeleteFile(option + 13);
1531    
1532                            } else if (MATCH_STR(option + 4, "-C=") == 0) {
1533                                    pvar->settings.CompressionLevel = atoi(option+7);
1534                                    if (pvar->settings.CompressionLevel < 0) {
1535                                            pvar->settings.CompressionLevel = 0;
1536                                    }
1537                                    else if (pvar->settings.CompressionLevel > 9) {
1538                                            pvar->settings.CompressionLevel = 9;
1539                                    }
1540                            } else if (MATCH_STR(option + 4, "-C") == 0) {
1541                                    pvar->settings.CompressionLevel = 6;
1542                            } else if (MATCH_STR(option + 4, "-c") == 0) {
1543                                    pvar->settings.CompressionLevel = 0;
1544    
1545                          // /ssh1 と /ssh2 オプションの新規追加 (2006.9.16 maya)                          // /ssh1 と /ssh2 オプションの新規追加 (2006.9.16 maya)
1546                          } else if (MATCH_STR(option + 4, "1") == 0) {                          } else if (MATCH_STR(option + 4, "1") == 0) {
1547                                  pvar->settings.Enabled = 1;                                  pvar->settings.Enabled = 1;

Legend:
Removed from v.4106  
changed lines
  Added in v.4151

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