summaryrefslogtreecommitdiffstats
path: root/tools/watchgnupg.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2004-11-23 18:09:51 +0100
committerWerner Koch <wk@gnupg.org>2004-11-23 18:09:51 +0100
commitc7b97075aa213a7ac54b8c56679719679816b3fa (patch)
tree04945dddc36984039b8b403f7eabbb7852cfe53c /tools/watchgnupg.c
parentPost release preparations (diff)
downloadgnupg2-c7b97075aa213a7ac54b8c56679719679816b3fa.tar.xz
gnupg2-c7b97075aa213a7ac54b8c56679719679816b3fa.zip
* b64enc.c: Include stdio.h and string.h
* gpgsm.c: New option --prefer-system-dirmngr. * call-dirmngr.c (start_dirmngr): Implement this option. * gpgconf-comp.c <dirmngr>: Add the proxy options. <gpgsm>: Add --prefer-system-daemon.
Diffstat (limited to 'tools/watchgnupg.c')
-rw-r--r--tools/watchgnupg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/watchgnupg.c b/tools/watchgnupg.c
index 7f79f2f18..50f9d7274 100644
--- a/tools/watchgnupg.c
+++ b/tools/watchgnupg.c
@@ -354,7 +354,7 @@ main (int argc, char **argv)
int n;
n = read (client->fd, line, sizeof line - 1);
- if (n == 1)
+ if (n < 0)
{
int save_errno = errno;
print_line (client, NULL); /* flush */