From: markus Date: Tue, 28 Mar 2000 20:39:05 +0000 (+0000) Subject: typo X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=4b6345f283477137fc3526e5b72e14f5a42bc64c;p=openbsd typo --- diff --git a/usr.bin/ssh/channels.c b/usr.bin/ssh/channels.c index 7f684f64b00..a02231992c0 100644 --- a/usr.bin/ssh/channels.c +++ b/usr.bin/ssh/channels.c @@ -16,7 +16,7 @@ */ #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" @@ -237,7 +237,7 @@ channel_free(int id) 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); }