[hotssh] gssh: Add comment in input stream iteration
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [hotssh] gssh: Add comment in input stream iteration
- Date: Sun, 22 Dec 2013 16:37:59 +0000 (UTC)
commit f8dabf38c47614f8164af7d0d69cb274a82e53e2
Author: Colin Walters <walters verbum org>
Date: Sun Dec 22 11:30:35 2013 -0500
gssh: Add comment in input stream iteration
libgssh/gssh-channel-input-stream.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/libgssh/gssh-channel-input-stream.c b/libgssh/gssh-channel-input-stream.c
index 5b8d84e..9e254eb 100644
--- a/libgssh/gssh-channel-input-stream.c
+++ b/libgssh/gssh-channel-input-stream.c
@@ -204,7 +204,9 @@ _gssh_channel_input_stream_iteration (GSshChannelInputStream *self)
estatus = ssh_channel_get_exit_status (self->channel->libsshchannel);
if (!is_eof)
{
- g_debug ("channel read 0, not eof, estatus=%d", estatus);
+ /* We'll get 0 but !is_eof when we hit the libssh equivalent
+ * of EAGAIN. We need to wait for poll().
+ */
return;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]