[BACK]Return to channels.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/channels.c between version 1.41 and 1.42

version 1.41, 2000/03/28 20:31:25 version 1.42, 2000/03/28 20:33:50
Line 237 
Line 237 
         if (c == NULL)          if (c == NULL)
                 packet_disconnect("channel free: bad local channel %d", id);                  packet_disconnect("channel free: bad local channel %d", id);
         debug("channel_free: channel %d: status: %s", id, channel_open_message());          debug("channel_free: channel %d: status: %s", id, channel_open_message());
         if (compat13)          if (c->sock =! -1) {
                 shutdown(c->sock, SHUT_RDWR);                  shutdown(c->sock, SHUT_RDWR);
                   close(c->sock);
           }
         buffer_free(&c->input);          buffer_free(&c->input);
         buffer_free(&c->output);          buffer_free(&c->output);
         buffer_free(&c->extended);          buffer_free(&c->extended);
Line 658 
Line 660 
                 if (ftab[c->type] == NULL)                  if (ftab[c->type] == NULL)
                         continue;                          continue;
                 (*ftab[c->type])(c, readset, writeset);                  (*ftab[c->type])(c, readset, writeset);
                 chan_delete_if_full_closed(c);                  if (!compat13)
                           chan_delete_if_full_closed(c);
         }          }
 }  }
   

Legend:
Removed from v.1.41  
changed lines
  Added in v.1.42