Develop and Download Open Source Software

Browse Subversion Repository

Diff of /trunk/ttssh2/ttxssh/hosts.c

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

revision 2856 by yutakakn, Sun Mar 26 15:43:58 2006 UTC revision 2857 by yutakakn, Sun Mar 26 17:07:18 2006 UTC
# Line 775  static void init_hosts_dlg(PTInstVar pva Line 775  static void init_hosts_dlg(PTInstVar pva
775          char buf2[2048];          char buf2[2048];
776          int i, j;          int i, j;
777          int ch;          int ch;
778            char *fp;
779    
780            // static textの # 部分をホスト名に置換する
781          GetDlgItemText(dlg, IDC_HOSTWARNING, buf, sizeof(buf));          GetDlgItemText(dlg, IDC_HOSTWARNING, buf, sizeof(buf));
782          for (i = 0; (ch = buf[i]) != 0 && ch != '#'; i++) {          for (i = 0; (ch = buf[i]) != 0 && ch != '#'; i++) {
783                  buf2[i] = ch;                  buf2[i] = ch;
# Line 793  static void init_hosts_dlg(PTInstVar pva Line 795  static void init_hosts_dlg(PTInstVar pva
795          buf2[sizeof(buf2) - 1] = 0;          buf2[sizeof(buf2) - 1] = 0;
796    
797          SetDlgItemText(dlg, IDC_HOSTWARNING, buf2);          SetDlgItemText(dlg, IDC_HOSTWARNING, buf2);
798    
799            // fingerprintを設定する
800            fp = key_fingerprint(&pvar->hosts_state.hostkey);
801            SendMessage(GetDlgItem(dlg, IDC_FINGER_PRINT), WM_SETTEXT, 0, (LPARAM)fp);
802  }  }
803    
804  static int print_mp_int(char FAR * buf, unsigned char FAR * mp)  static int print_mp_int(char FAR * buf, unsigned char FAR * mp)
# Line 1131  void HOSTS_end(PTInstVar pvar) Line 1137  void HOSTS_end(PTInstVar pvar)
1137    
1138  /*  /*
1139   * $Log: not supported by cvs2svn $   * $Log: not supported by cvs2svn $
1140     * Revision 1.4  2006/03/26 15:43:58  yutakakn
1141     * SSH2のknown_hosts対応を追加した。
1142     *
1143   * Revision 1.3  2006/02/18 07:37:02  yutakakn   * Revision 1.3  2006/02/18 07:37:02  yutakakn
1144   *   ・コンパイラを Visual Studio 2005 Standard Edition に切り替えた。   *   ・コンパイラを Visual Studio 2005 Standard Edition に切り替えた。
1145   *   ・stricmp()を_stricmp()へ置換した   *   ・stricmp()を_stricmp()へ置換した

Legend:
Removed from v.2856  
changed lines
  Added in v.2857

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