Browse Subversion Repository
Diff of /branches/ssh_chacha20poly1305/ttssh2/ttxssh/ttxssh.c
Parent Directory
| Revision Log
| Patch
| 75 |
#include "buffer.h" |
#include "buffer.h" |
| 76 |
#include "cipher.h" |
#include "cipher.h" |
| 77 |
|
|
| 78 |
|
#include "sftp.h" |
| 79 |
|
|
| 80 |
#define MATCH_STR(s, o) strncmp((s), (o), NUM_ELEM(o) - 1) |
#define MATCH_STR(s, o) strncmp((s), (o), NUM_ELEM(o) - 1) |
| 81 |
#define MATCH_STR_I(s, o) _strnicmp((s), (o), NUM_ELEM(o) - 1) |
#define MATCH_STR_I(s, o) _strnicmp((s), (o), NUM_ELEM(o) - 1) |
| 2858 |
case WM_INITDIALOG: |
case WM_INITDIALOG: |
| 2859 |
DragAcceptFiles(dlg, TRUE); |
DragAcceptFiles(dlg, TRUE); |
| 2860 |
|
|
| 2861 |
|
#ifdef SFTP_DEBUG |
| 2862 |
|
ShowWindow(GetDlgItem(dlg, IDC_SFTP_TEST), SW_SHOW); |
| 2863 |
|
#endif |
| 2864 |
|
|
| 2865 |
return TRUE; |
return TRUE; |
| 2866 |
|
|
| 2867 |
case WM_DROPFILES: |
case WM_DROPFILES: |
| 2917 |
|
|
| 2918 |
switch (LOWORD(wParam)) { |
switch (LOWORD(wParam)) { |
| 2919 |
case IDOK: |
case IDOK: |
|
#if 0 // SFTP debug (2008.1.19 yutaka) |
|
|
SSH_sftp_transaction(pvar); |
|
|
#else |
|
| 2920 |
hWnd = GetDlgItem(dlg, IDC_SENDFILE_EDIT); |
hWnd = GetDlgItem(dlg, IDC_SENDFILE_EDIT); |
| 2921 |
SendMessage(hWnd, WM_GETTEXT , sizeof(sendfile), (LPARAM)sendfile); |
SendMessage(hWnd, WM_GETTEXT , sizeof(sendfile), (LPARAM)sendfile); |
| 2922 |
if (sendfile[0] != '\0') { |
if (sendfile[0] != '\0') { |
| 2925 |
EndDialog(dlg, 1); // dialog close |
EndDialog(dlg, 1); // dialog close |
| 2926 |
return TRUE; |
return TRUE; |
| 2927 |
} |
} |
|
#endif |
|
| 2928 |
return FALSE; |
return FALSE; |
| 2929 |
|
|
| 2930 |
case IDCANCEL: |
case IDCANCEL: |
| 2940 |
return TRUE; |
return TRUE; |
| 2941 |
} |
} |
| 2942 |
return FALSE; |
return FALSE; |
| 2943 |
|
|
| 2944 |
|
case IDC_SFTP_TEST: |
| 2945 |
|
SSH_sftp_transaction(pvar); |
| 2946 |
|
return TRUE; |
| 2947 |
} |
} |
| 2948 |
} |
} |
| 2949 |
|
|
|
|
Legend:
| Removed from v.3103 |
|
| changed lines |
| |
Added in v.3107 |
|
|
| |