diff options
author | Werner Koch <[email protected]> | 2002-04-27 13:49:40 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2002-04-27 13:49:40 +0000 |
commit | 8460fb4a7325d1f009dae07c39dd48309cb7d361 (patch) | |
tree | 1ba30ec7a09fed9c152075b79e093c8491e509b2 /agent/query.c | |
parent | * call-agent.c (start_agent): Make copies of old locales and check (diff) | |
download | gnupg-8460fb4a7325d1f009dae07c39dd48309cb7d361.tar.gz gnupg-8460fb4a7325d1f009dae07c39dd48309cb7d361.zip |
Debug message cleanups.
Fixed passphrase caching.
Diffstat (limited to '')
-rw-r--r-- | agent/query.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/agent/query.c b/agent/query.c index c7e05a099..7a20b1498 100644 --- a/agent/query.c +++ b/agent/query.c @@ -63,8 +63,8 @@ start_pinentry (void) expected to tun as a single-thread (or may be in future using libpth) */ - - log_debug ("no running PIN Entry - starting it\n"); + if (opt.verbose) + log_info ("no running PIN Entry - starting it\n"); if (fflush (NULL)) { @@ -99,8 +99,9 @@ start_pinentry (void) return seterr (No_PIN_Entry); } entry_ctx = ctx; - - log_debug ("connection to PIN entry established\n"); + + if (DBG_ASSUAN) + log_debug ("connection to PIN entry established\n"); rc = assuan_transact (entry_ctx, opt.no_grab? "OPTION no-grab":"OPTION grab", |