aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJakub Jelen <jjelen@redhat.com>2020-04-16 11:12:48 +0200
committerJakub Jelen <jjelen@redhat.com>2020-04-20 14:14:33 +0200
commitfe0fcbbc67e32c0fc05581dec86a51e041f81a7a (patch)
tree5fe490bd5d5b4fe7710aece9f72e505630b597f6 /src
parentc2f64108a1524be98562492f64885d937606b4e8 (diff)
downloadlibssh-fe0fcbbc67e32c0fc05581dec86a51e041f81a7a.tar.gz
libssh-fe0fcbbc67e32c0fc05581dec86a51e041f81a7a.tar.xz
libssh-fe0fcbbc67e32c0fc05581dec86a51e041f81a7a.zip
channels: reformat
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
Diffstat (limited to 'src')
-rw-r--r--src/channels.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/channels.c b/src/channels.c
index d0eeddf9..bcc1c207 100644
--- a/src/channels.c
+++ b/src/channels.c
@@ -3095,7 +3095,7 @@ int ssh_channel_poll_timeout(ssh_channel channel, int timeout, int is_stderr)
size_t len;
int rc;
- if(channel == NULL) {
+ if (channel == NULL) {
return SSH_ERROR;
}
@@ -3113,7 +3113,7 @@ int ssh_channel_poll_timeout(ssh_channel channel, int timeout, int is_stderr)
ssh_channel_read_termination,
&ctx);
if (rc == SSH_ERROR ||
- session->session_state == SSH_SESSION_STATE_ERROR) {
+ session->session_state == SSH_SESSION_STATE_ERROR) {
rc = SSH_ERROR;
goto out;
}