diff options
author | Michael McConville <mmcco@mykolab.com> | 2016-04-18 12:08:36 +0200 |
---|---|---|
committer | Stef Walter <stefw@gnome.org> | 2016-04-18 12:09:24 +0200 |
commit | 3f64b67a66b42a23879d4904086676827138bcd8 (patch) | |
tree | 22277756f92a6c2f1c6951ad3f99341dc1518e77 /daemon | |
parent | daabb5f5e3d1b2741b0f1f0601c0e8b789409f08 (diff) | |
download | gnome-keyring-3f64b67a66b42a23879d4904086676827138bcd8.tar.gz |
ssh-agent: Fix boolean logic error
Signed-off-by: Stef Walter <stefw@redhat.com>
* From the gnome-keyring-list mailing list
Diffstat (limited to 'daemon')
-rw-r--r-- | daemon/ssh-agent/gkd-ssh-agent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/ssh-agent/gkd-ssh-agent.c b/daemon/ssh-agent/gkd-ssh-agent.c index 2ef7f3bc..2a53416f 100644 --- a/daemon/ssh-agent/gkd-ssh-agent.c +++ b/daemon/ssh-agent/gkd-ssh-agent.c @@ -86,7 +86,7 @@ write_all (int fd, const guchar *buf, int len) res = write (fd, buf, len); if (res < 0) { - if (errno == EAGAIN && errno == EINTR) + if (errno == EAGAIN || errno == EINTR) continue; if (errno != EPIPE) g_warning ("couldn't write %u bytes to client: %s", all, |