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 6841 by doda, Tue Jul 4 15:02:28 2017 UTC revision 6844 by doda, Tue Jul 4 15:02:54 2017 UTC
# Line 1946  static BOOL handle_channel_open_confirma Line 1946  static BOOL handle_channel_open_confirma
1946  static BOOL handle_channel_open_failure(PTInstVar pvar)  static BOOL handle_channel_open_failure(PTInstVar pvar)
1947  {  {
1948          if (grab_payload(pvar, 4)) {          if (grab_payload(pvar, 4)) {
1949                  FWD_failed_open(pvar, get_payload_uint32(pvar, 0));                  FWD_failed_open(pvar, get_payload_uint32(pvar, 0), -1);
1950          }          }
1951          return FALSE;          return FALSE;
1952  }  }
# Line 7688  static BOOL handle_SSH2_open_failure(PTI Line 7688  static BOOL handle_SSH2_open_failure(PTI
7688    
7689          free(cstring);          free(cstring);
7690    
         // 転送チャネル内にあるソケットの解放漏れを修正 (2007.7.26 maya)  
7691          if (c->type == TYPE_PORTFWD) {          if (c->type == TYPE_PORTFWD) {
7692                  FWD_free_channel(pvar, c->local_num);                  FWD_failed_open(pvar, c->local_num, reason);
7693          }          }
7694    
7695          // チャネルの解放漏れを修正 (2007.5.1 maya)          // チャネルの解放漏れを修正 (2007.5.1 maya)

Legend:
Removed from v.6841  
changed lines
  Added in v.6844

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