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 2999 by maya, Sat Aug 18 08:54:14 2007 UTC revision 3000 by maya, Sun Aug 19 13:07:48 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    
                 for (i = 0 ; i < sizeof(ComPortDesc) ; i++) {  
                         ComPortDesc[i] = NULL;  
                 }  
1021                  j = 0;                  j = 0;
1022                  w = 1;                  w = 1;
1023                  strncpy_s(EntName, sizeof(EntName), "COM", _TRUNCATE);                  strncpy_s(EntName, sizeof(EntName), "COM", _TRUNCATE);
# Line 1048  static BOOL CALLBACK TTXHostDlg(HWND dlg Line 1045  static BOOL CALLBACK TTXHostDlg(HWND dlg
1045                                          w = j;                                          w = j;
1046                          }                          }
1047                  }                  }
                 for (i = 0 ; i < sizeof(ComPortDesc) ; i++) {  
                         free(ComPortDesc[i]);  
                 }  
1048    
1049                  if (j > 0)                  if (j > 0)
1050                          SendDlgItemMessage(dlg, IDC_HOSTCOM, CB_SETCURSEL, w - 1, 0);                          SendDlgItemMessage(dlg, IDC_HOSTCOM, CB_SETCURSEL, w - 1, 0);

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

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