*/
#include "includes.h"
-RCSID("$Id: channels.c,v 1.42 2000/03/28 20:33:50 markus Exp $");
+RCSID("$Id: channels.c,v 1.43 2000/03/28 20:39:05 markus Exp $");
#include "ssh.h"
#include "packet.h"
if (c == NULL)
packet_disconnect("channel free: bad local channel %d", id);
debug("channel_free: channel %d: status: %s", id, channel_open_message());
- if (c->sock =! -1) {
+ if (c->sock != -1) {
shutdown(c->sock, SHUT_RDWR);
close(c->sock);
}