Mercurial > dropbear
changeset 332:6f90e5fd42cc
fix accidentally changed == vs != operators
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sun, 11 Jun 2006 16:37:46 +0000 |
parents | d6b8815a9b5e |
children | 9341570412e5 |
files | common-channel.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/common-channel.c Sun Jun 11 16:19:32 2006 +0000 +++ b/common-channel.c Sun Jun 11 16:37:46 2006 +0000 @@ -273,14 +273,14 @@ if (!channel->senteof && channel->readfd == FD_CLOSED - && (channel->extrabuf == NULL || channel->errfd == FD_CLOSED)) { + && (channel->extrabuf != NULL || channel->errfd == FD_CLOSED)) { send_msg_channel_eof(channel); } if (!channel->sentclosed && channel->writefd == FD_CLOSED && channel->readfd == FD_CLOSED - && (channel->extrabuf == NULL || channel->errfd == FD_CLOSED)) { + && (channel->extrabuf != NULL || channel->errfd == FD_CLOSED)) { send_msg_channel_close(channel); }