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 3088 by yutakapon, Tue Jan 1 16:10:45 2008 UTC revision 3089 by yutakapon, Thu Jan 3 16:15:40 2008 UTC
# Line 2927  static BOOL CALLBACK TTXScpDialog(HWND d Line 2927  static BOOL CALLBACK TTXScpDialog(HWND d
2927                          hWnd = GetDlgItem(dlg, IDC_SENDFILE_EDIT);                          hWnd = GetDlgItem(dlg, IDC_SENDFILE_EDIT);
2928                          SendMessage(hWnd, WM_GETTEXT , sizeof(sendfile), (LPARAM)sendfile);                          SendMessage(hWnd, WM_GETTEXT , sizeof(sendfile), (LPARAM)sendfile);
2929                          if (sendfile[0] != '\0') {                          if (sendfile[0] != '\0') {
2930                                  SSH_start_scp(pvar, sendfile);                                  SSH_start_scp(pvar, sendfile, NULL);
2931                                    //SSH_start_scp(pvar, sendfile, "tmp/foo.chm");
2932                                  EndDialog(dlg, 1); // dialog close                                  EndDialog(dlg, 1); // dialog close
2933                                  return TRUE;                                  return TRUE;
2934                          }                          }
# Line 2944  static BOOL CALLBACK TTXScpDialog(HWND d Line 2945  static BOOL CALLBACK TTXScpDialog(HWND d
2945    
2946  // マクロコマンド"scpsend"から呼び出すために、DLL外へエクスポートする。"ttxssh.def"ファイルに記載。  // マクロコマンド"scpsend"から呼び出すために、DLL外へエクスポートする。"ttxssh.def"ファイルに記載。
2947  // (2008.1.1 yutaka)  // (2008.1.1 yutaka)
2948  __declspec(dllexport) int CALLBACK TTXScpSendfile(char *filename)  __declspec(dllexport) int CALLBACK TTXScpSendfile(char *filename, char *dstfile)
2949  {  {
2950          return SSH_start_scp(pvar, filename);          return SSH_start_scp(pvar, filename, dstfile);
2951  }  }
2952    
2953  static BOOL CALLBACK TTXKeyGenerator(HWND dlg, UINT msg, WPARAM wParam,  static BOOL CALLBACK TTXKeyGenerator(HWND dlg, UINT msg, WPARAM wParam,

Legend:
Removed from v.3088  
changed lines
  Added in v.3089

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