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 2998 by maya, Fri Aug 17 14:05:45 2007 UTC revision 2999 by maya, Sat Aug 18 08:54:14 2007 UTC
# Line 1018  static BOOL CALLBACK TTXHostDlg(HWND dlg Line 1018  static BOOL CALLBACK TTXHostDlg(HWND dlg
1018                  /////// SSH version                  /////// SSH version
1019    
1020    
1021                    for (i = 0 ; i < sizeof(ComPortDesc) ; i++) {
1022                            ComPortDesc[i] = NULL;
1023                    }
1024                  j = 0;                  j = 0;
1025                  w = 1;                  w = 1;
1026                  strncpy_s(EntName, sizeof(EntName), "COM", _TRUNCATE);                  strncpy_s(EntName, sizeof(EntName), "COM", _TRUNCATE);
# Line 1045  static BOOL CALLBACK TTXHostDlg(HWND dlg Line 1048  static BOOL CALLBACK TTXHostDlg(HWND dlg
1048                                          w = j;                                          w = j;
1049                          }                          }
1050                  }                  }
1051                    for (i = 0 ; i < sizeof(ComPortDesc) ; i++) {
1052                            free(ComPortDesc[i]);
1053                    }
1054    
1055                  if (j > 0)                  if (j > 0)
1056                          SendDlgItemMessage(dlg, IDC_HOSTCOM, CB_SETCURSEL, w - 1, 0);                          SendDlgItemMessage(dlg, IDC_HOSTCOM, CB_SETCURSEL, w - 1, 0);

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

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