fix accidentally changed == vs != operators

--HG--
extra : convert_revision : a2345a9e53fcb35bde9f3701406e285c1ef80481
This commit is contained in:
Matt Johnston 2006-06-11 16:37:46 +00:00
parent e8fa3ce478
commit 4313157666

View File

@ -273,14 +273,14 @@ static void checkclose(struct Channel *channel) {
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);
}