[Ttssh2-commit] [3541] raw接続で Telnet が off にならないのを修正。

Zurück zum Archiv-Index

svnno****@sourc***** svnno****@sourc*****
2009年 6月 27日 (土) 16:50:29 JST


Revision: 3541
          http://sourceforge.jp/projects/ttssh2/svn/view?view=rev&revision=3541
Author:   doda
Date:     2009-06-27 16:50:29 +0900 (Sat, 27 Jun 2009)

Log Message:
-----------
raw接続で Telnet が off にならないのを修正。

Modified Paths:
--------------
    trunk/ttssh2/ttxssh/ttxssh.c


-------------- next part --------------
Modified: trunk/ttssh2/ttxssh/ttxssh.c
===================================================================
--- trunk/ttssh2/ttxssh/ttxssh.c	2009-06-27 07:49:24 UTC (rev 3540)
+++ trunk/ttssh2/ttxssh/ttxssh.c	2009-06-27 07:50:29 UTC (rev 3541)
@@ -1243,10 +1243,6 @@
 					GetHNRec->PortType = IdTCPIP;
 					GetDlgItemText(dlg, IDC_HOSTNAME, GetHNRec->HostName,
 					               HostNameMaxLength);
-// TTXOpenTCP() ‚Å TelFlag ‚ð FALSE ‚É‚µ‚Ä‚¢‚é‚̂ŁA‚»‚¿‚ç‚É”C‚¹‚éB
-#if 0
-					GetHNRec->Telnet = FALSE;
-#endif
 					pvar->hostdlg_activated = TRUE;
 					pvar->hostdlg_Enabled = FALSE;
 					if (IsDlgButtonChecked(dlg, IDC_HOSTTELNET)) {
@@ -1263,6 +1259,9 @@
 							pvar->settings.ssh_protocol_version = 2;
 						}
 					}
+					else {	// IDC_HOSTOTHER
+						GetHNRec->Telnet = FALSE;
+					}
 
 					// host history check button
 					if (SendMessage(GetDlgItem(dlg, IDC_HISTORY), BM_GETCHECK, 0, 0) == BST_CHECKED) {



Ttssh2-commit メーリングリストの案内
Zurück zum Archiv-Index