Skip to content
Snippets Groups Projects
Commit 43131576 authored by Matt Johnston's avatar Matt Johnston
Browse files

fix accidentally changed == vs != operators

--HG--
extra : convert_revision : a2345a9e53fcb35bde9f3701406e285c1ef80481
parent e8fa3ce4
No related merge requests found
...@@ -273,14 +273,14 @@ static void checkclose(struct Channel *channel) { ...@@ -273,14 +273,14 @@ static void checkclose(struct Channel *channel) {
if (!channel->senteof if (!channel->senteof
&& channel->readfd == FD_CLOSED && channel->readfd == FD_CLOSED
&& (channel->extrabuf == NULL || channel->errfd == FD_CLOSED)) { && (channel->extrabuf != NULL || channel->errfd == FD_CLOSED)) {
send_msg_channel_eof(channel); send_msg_channel_eof(channel);
} }
if (!channel->sentclosed if (!channel->sentclosed
&& channel->writefd == FD_CLOSED && channel->writefd == FD_CLOSED
&& channel->readfd == 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); send_msg_channel_close(channel);
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment