diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2000-03-28 20:39:06 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2000-03-28 20:39:06 +0000 |
commit | d10a23f88bcf5162facd3f43914da7f72543decd (patch) | |
tree | 43d69aae7a6b213c9fbe9f362b8043cb645d5dd4 /usr.bin/ssh/channels.c | |
parent | 40dbe8cbedba0ae7ae8caf768cdc3e32f7c0a8c0 (diff) |
typo
Diffstat (limited to 'usr.bin/ssh/channels.c')
-rw-r--r-- | usr.bin/ssh/channels.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |