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 3103 by maya, Mon Feb 4 01:21:44 2008 UTC revision 3107 by yutakapon, Mon Feb 11 12:26:39 2008 UTC
# Line 75  static char FAR *ProtocolFamilyList[] = Line 75  static char FAR *ProtocolFamilyList[] =
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)
# Line 2857  static BOOL CALLBACK TTXScpDialog(HWND d Line 2858  static BOOL CALLBACK TTXScpDialog(HWND d
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:
# Line 2912  static BOOL CALLBACK TTXScpDialog(HWND d Line 2917  static BOOL CALLBACK TTXScpDialog(HWND d
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') {
# Line 2923  static BOOL CALLBACK TTXScpDialog(HWND d Line 2925  static BOOL CALLBACK TTXScpDialog(HWND d
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:                  
# Line 2939  static BOOL CALLBACK TTXScpDialog(HWND d Line 2940  static BOOL CALLBACK TTXScpDialog(HWND d
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

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