Develop and Download Open Source Software

Browse Subversion Repository

Diff of /branches/ssh_chacha20poly1305/ttssh2/ttxssh/ssh.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 5630 by yutakapon, Sun Jul 6 06:00:21 2014 UTC revision 5640 by yutakapon, Sun Jul 13 08:47:03 2014 UTC
# Line 8010  static BOOL SSH2_scp_fromremote(PTInstVa Line 8010  static BOOL SSH2_scp_fromremote(PTInstVa
8010          char filename[MAX_PATH];          char filename[MAX_PATH];
8011          char ch;          char ch;
8012          HWND hDlgWnd;          HWND hDlgWnd;
8013            char msg[256];
8014            int copylen;
8015    
8016          if (buflen == 0)          if (buflen == 0)
8017                  return FALSE;                  return FALSE;
# Line 8064  static BOOL SSH2_scp_fromremote(PTInstVa Line 8066  static BOOL SSH2_scp_fromremote(PTInstVa
8066                          goto reply;                          goto reply;
8067    
8068                  } else {                  } else {
8069                          // TODO:                          // サーバからのデータが不定の場合は、エラー表示を行う。
8070                            // (2014.7.13 yutaka)
8071                            copylen = min(buflen, sizeof(msg));
8072                            memcpy(msg, data, copylen);
8073                            msg[copylen - 1] = 0;
8074                            MessageBox(NULL, msg, "TTSSH: SCP error(SCP_INIT)", MB_OK | MB_ICONEXCLAMATION);
8075    
8076                  }                  }
8077    

Legend:
Removed from v.5630  
changed lines
  Added in v.5640

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