Revision: 8044 https://osdn.net/projects/ttssh2/scm/svn/commits/8044 Author: yutakapon Date: 2019-08-31 00:33:33 +0900 (Sat, 31 Aug 2019) Log Message: ----------- r8036でダイアログの処理追加漏れ。 SSHサーバと認証中にネットワーク切断された場合、認証ダイアログが残ったままとならないようにした。 Modified Paths: -------------- branches/ttssh_improved/ttssh2/ttxssh/auth.c branches/ttssh_improved/ttssh2/ttxssh/hosts.c -------------- next part -------------- Modified: branches/ttssh_improved/ttssh2/ttxssh/auth.c =================================================================== --- branches/ttssh_improved/ttssh2/ttxssh/auth.c 2019-08-30 15:11:55 UTC (rev 8043) +++ branches/ttssh_improved/ttssh2/ttxssh/auth.c 2019-08-30 15:33:33 UTC (rev 8044) @@ -1435,6 +1435,12 @@ EndDialog(dlg, 0); return TRUE; + case IDCLOSE: + // \x94F\x8Fؒ\x86\x82Ƀl\x83b\x83g\x83\x8F\x81[\x83N\x90ؒf\x82\xB3\x82ꂽ\x8Fꍇ\x81A\x93\x96\x8AY\x83\x81\x83b\x83Z\x81[\x83W\x82Ń_\x83C\x83A\x83\x8D\x83O\x82\xF0\x95\xB6\x82\xE9\x81B + pvar->auth_state.auth_dialog = NULL; + EndDialog(dlg, 0); + return TRUE; + default: return FALSE; } Modified: branches/ttssh_improved/ttssh2/ttxssh/hosts.c =================================================================== --- branches/ttssh_improved/ttssh2/ttxssh/hosts.c 2019-08-30 15:11:55 UTC (rev 8043) +++ branches/ttssh_improved/ttssh2/ttxssh/hosts.c 2019-08-30 15:33:33 UTC (rev 8044) @@ -1988,6 +1988,12 @@ EndDialog(dlg, 0); return TRUE; + case IDCLOSE: + // \x94F\x8Fؒ\x86\x82Ƀl\x83b\x83g\x83\x8F\x81[\x83N\x90ؒf\x82\xB3\x82ꂽ\x8Fꍇ\x81A\x93\x96\x8AY\x83\x81\x83b\x83Z\x81[\x83W\x82Ń_\x83C\x83A\x83\x8D\x83O\x82\xF0\x95\xB6\x82\xE9\x81B + pvar->hosts_state.hosts_dialog = NULL; + EndDialog(dlg, 0); + return TRUE; + case IDC_FP_HASH_ALG_MD5: hosts_dlg_set_fingerprint(pvar, dlg, SSH_DIGEST_MD5); return TRUE; @@ -2142,6 +2148,12 @@ EndDialog(dlg, 0); return TRUE; + case IDCLOSE: + // \x94F\x8Fؒ\x86\x82Ƀl\x83b\x83g\x83\x8F\x81[\x83N\x90ؒf\x82\xB3\x82ꂽ\x8Fꍇ\x81A\x93\x96\x8AY\x83\x81\x83b\x83Z\x81[\x83W\x82Ń_\x83C\x83A\x83\x8D\x83O\x82\xF0\x95\xB6\x82\xE9\x81B + pvar->hosts_state.hosts_dialog = NULL; + EndDialog(dlg, 0); + return TRUE; + case IDC_FP_HASH_ALG_MD5: hosts_dlg_set_fingerprint(pvar, dlg, SSH_DIGEST_MD5); return TRUE;