svnno****@sourc*****
svnno****@sourc*****
2010年 12月 19日 (日) 23:12:19 JST
Revision: 4235 http://sourceforge.jp/projects/ttssh2/svn/view?view=rev&revision=4235 Author: doda Date: 2010-12-19 23:12:19 +0900 (Sun, 19 Dec 2010) Log Message: ----------- ã³ãã³ãã©ã¤ã³ãã ForwardAgentConfirm ãå¤æ´ã§ããããã«ããã # ãããªãã·ã§ã³åãæãã¤ããªã⦠ãªã«ããããªãã·ã§ã³åã¯ãªãã§ãã? Modified Paths: -------------- trunk/ttssh2/ttxssh/ttxssh.c -------------- next part -------------- Modified: trunk/ttssh2/ttxssh/ttxssh.c =================================================================== --- trunk/ttssh2/ttxssh/ttxssh.c 2010-12-19 14:08:13 UTC (rev 4234) +++ trunk/ttssh2/ttxssh/ttxssh.c 2010-12-19 14:12:19 UTC (rev 4235) @@ -1525,6 +1525,17 @@ } else if (_stricmp(option + 4, "-autologin") == 0 || _stricmp(option + 4, "-autologon") == 0) { pvar->settings.TryDefaultAuth = TRUE; + } else if (MATCH_STR_I(option + 4, "-agentconfirm=") == 0) { + if ((_stricmp(option+18, "off") == 0) || + (_stricmp(option+18, "no") == 0) || + (_stricmp(option+18, "false") == 0) || + (_stricmp(option+18, "0") == 0) || + (_stricmp(option+18, "n") == 0)) { + pvar->settings.ForwardAgentConfirm = 0; + } + else { + pvar->settings.ForwardAgentConfirm = 1; + } // -axxæèãɵÄÍ¾ß } else if (MATCH_STR(option + 4, "-a") == 0) {