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 4878 by yutakapon, Thu Apr 5 15:26:22 2012 UTC revision 4880 by yutakapon, Thu Apr 5 16:30:06 2012 UTC
# Line 3823  static BOOL CALLBACK TTXScpDialog(HWND d Line 3823  static BOOL CALLBACK TTXScpDialog(HWND d
3823    
3824                  // SCPファイル送信先を表示する                  // SCPファイル送信先を表示する
3825                  if (sendfiledir[0] == '\0') {                  if (sendfiledir[0] == '\0') {
3826                          _snprintf_s(sendfiledir, MAX_PATH, _TRUNCATE, "."); // home directory                          _snprintf_s(sendfiledir, MAX_PATH, _TRUNCATE, pvar->ts->ScpSendDir); // home directory
3827                  }                  }
3828                  SendMessage(GetDlgItem(dlg, IDC_SENDFILE_TO), WM_SETTEXT, 0, (LPARAM)sendfiledir);                  SendMessage(GetDlgItem(dlg, IDC_SENDFILE_TO), WM_SETTEXT, 0, (LPARAM)sendfiledir);
3829    
# Line 3902  static BOOL CALLBACK TTXScpDialog(HWND d Line 3902  static BOOL CALLBACK TTXScpDialog(HWND d
3902                          SendMessage(hWnd, WM_GETTEXT , sizeof(sendfile), (LPARAM)sendfile);                          SendMessage(hWnd, WM_GETTEXT , sizeof(sendfile), (LPARAM)sendfile);
3903                          if (sendfile[0] != '\0') {                          if (sendfile[0] != '\0') {
3904                                  hWnd = GetDlgItem(dlg, IDC_SENDFILE_TO);                                  hWnd = GetDlgItem(dlg, IDC_SENDFILE_TO);
3905                                  SendMessage(hWnd, WM_GETTEXT , sizeof(sendfiledir), (LPARAM)sendfiledir);                                                                SendMessage(hWnd, WM_GETTEXT , sizeof(sendfiledir), (LPARAM)sendfiledir);      
3906                                    strncpy_s(pvar->ts->ScpSendDir, sizeof(pvar->ts->ScpSendDir), sendfiledir, _TRUNCATE);
3907                                  SSH_start_scp(pvar, sendfile, sendfiledir);                                  SSH_start_scp(pvar, sendfile, sendfiledir);
3908                                  //SSH_scp_transaction(pvar, "bigfile30.bin", "", FROMREMOTE);                                  //SSH_scp_transaction(pvar, "bigfile30.bin", "", FROMREMOTE);
3909                                  EndDialog(dlg, 1); // dialog close                                  EndDialog(dlg, 1); // dialog close

Legend:
Removed from v.4878  
changed lines
  Added in v.4880

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