summaryrefslogtreecommitdiffstats
path: root/gnupgparse.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1998-10-21 15:08:23 +0000
committerThomas Roessler <roessler@does-not-exist.org>1998-10-21 15:08:23 +0000
commit735c8718c6608f708650465759b25df3759eab13 (patch)
tree40a5516d6b58a8135ff14222c66b4eb27afdc78b /gnupgparse.c
parent7b29130b70192cc4b0a40da6312a58dd7f13932a (diff)
Make gpg's output look a little bit cleaner.
Diffstat (limited to 'gnupgparse.c')
-rw-r--r--gnupgparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnupgparse.c b/gnupgparse.c
index 5d7ed814..810db81f 100644
--- a/gnupgparse.c
+++ b/gnupgparse.c
@@ -168,7 +168,7 @@ static KEYINFO *read_ring(struct pgp_vinfo *pgp, int secret )
if((devnull = open("/dev/null", O_RDWR)) == -1)
return NULL;
- thepid = gpg_invoke_list_keys(pgp, NULL, &fp, NULL, devnull, -1, devnull,
+ thepid = gpg_invoke_list_keys(pgp, NULL, &fp, NULL, -1, -1, devnull,
NULL, secret);
if( thepid == -1 )
{