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 2997 by yutakapon, Fri Aug 17 06:15:06 2007 UTC revision 2998 by maya, Fri Aug 17 14:05:45 2007 UTC
# Line 1024  static BOOL CALLBACK TTXHostDlg(HWND dlg Line 1024  static BOOL CALLBACK TTXHostDlg(HWND dlg
1024                  if ((comports=DetectComPorts(ComPortTable, GetHNRec->MaxComPort, ComPortDesc)) >= 0) {                  if ((comports=DetectComPorts(ComPortTable, GetHNRec->MaxComPort, ComPortDesc)) >= 0) {
1025                          for (i=0; i<comports; i++) {                          for (i=0; i<comports; i++) {
1026                                  _snprintf_s(&EntName[3], sizeof(EntName)-3, _TRUNCATE, "%d", ComPortTable[i]);                                  _snprintf_s(&EntName[3], sizeof(EntName)-3, _TRUNCATE, "%d", ComPortTable[i]);
1027                              strncat_s(EntName, sizeof(EntName), ": ", _TRUNCATE);                                  if (ComPortDesc[i] != NULL) {
1028                                  strncat_s(EntName, sizeof(EntName), ComPortDesc[i], _TRUNCATE);                                          strncat_s(EntName, sizeof(EntName), ": ", _TRUNCATE);
1029                                            strncat_s(EntName, sizeof(EntName), ComPortDesc[i], _TRUNCATE);
1030                                    }
1031                                  SendDlgItemMessage(dlg, IDC_HOSTCOM, CB_ADDSTRING,                                  SendDlgItemMessage(dlg, IDC_HOSTCOM, CB_ADDSTRING,
1032                                                                     0, (LPARAM)EntName);                                                                     0, (LPARAM)EntName);
1033                                  j++;                                  j++;

Legend:
Removed from v.2997  
changed lines
  Added in v.2998

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