Skip to content

Commit 0f1fcb3

Browse files
committed
Reverting unwanted code style changes
1 parent e8c353d commit 0f1fcb3

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

channels.c

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1735,11 +1735,9 @@ channel_handle_wfd(Channel *c, fd_set *readset, fd_set *writeset)
17351735
chan_write_failed(c);
17361736
return -1;
17371737
}
1738-
}
1739-
else if (c->datagram) {
1738+
} else if (c->datagram) {
17401739
buf = data = buffer_get_string(&c->output, &dlen);
1741-
}
1742-
else {
1740+
} else {
17431741
buf = data = buffer_ptr(&c->output);
17441742
dlen = buffer_len(&c->output);
17451743
}
@@ -1778,13 +1776,11 @@ channel_handle_wfd(Channel *c, fd_set *readset, fd_set *writeset)
17781776
debug2("channel %d: not open", c->self);
17791777
chan_mark_dead(c);
17801778
return -1;
1781-
}
1782-
else if (compat13) {
1779+
} else if (compat13) {
17831780
buffer_clear(&c->output);
17841781
debug2("channel %d: input draining.", c->self);
17851782
c->type = SSH_CHANNEL_INPUT_DRAINING;
1786-
}
1787-
else {
1783+
} else {
17881784
chan_write_failed(c);
17891785
}
17901786
return -1;

0 commit comments

Comments
 (0)