[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.42 and 1.43

version 1.42, 2000/03/28 20:33:50 version 1.43, 2000/03/28 20:39:05
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 (c->sock =! -1) {          if (c->sock != -1) {
                 shutdown(c->sock, SHUT_RDWR);                  shutdown(c->sock, SHUT_RDWR);
                 close(c->sock);                  close(c->sock);
         }          }

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