aboutsummaryrefslogtreecommitdiffstats
path: root/common/asshelp.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2010-11-26 09:42:56 +0000
committerWerner Koch <[email protected]>2010-11-26 09:42:56 +0000
commit41a33e0c7861da54dd4b8428b66fb1c0e11d9084 (patch)
treec74ac83db8036a708445e16486873e5d4dab264a /common/asshelp.c
parentFix two fuzzies (diff)
downloadgnupg-41a33e0c7861da54dd4b8428b66fb1c0e11d9084.tar.gz
gnupg-41a33e0c7861da54dd4b8428b66fb1c0e11d9084.zip
Remove superfluous parameter.
Make self-check interval larger
Diffstat (limited to 'common/asshelp.c')
-rw-r--r--common/asshelp.c18
1 files changed, 10 insertions, 8 deletions
diff --git a/common/asshelp.c b/common/asshelp.c
index 313d0ddd4..d75227769 100644
--- a/common/asshelp.c
+++ b/common/asshelp.c
@@ -431,11 +431,12 @@ start_new_gpg_agent (assuan_context_t *r_ctx,
{
int i;
- if (verbose)
- log_info (_("waiting %d seconds for the agent "
- "to come up\n"), SECS_TO_WAIT_FOR_AGENT);
for (i=0; i < SECS_TO_WAIT_FOR_AGENT; i++)
{
+ if (verbose)
+ log_info (_("waiting for the agent "
+ "to come up ... (%ds)\n"),
+ SECS_TO_WAIT_FOR_AGENT - i);
gnupg_sleep (1);
err = assuan_socket_connect (ctx, sockname, 0, 0);
if (!err)
@@ -443,7 +444,7 @@ start_new_gpg_agent (assuan_context_t *r_ctx,
if (verbose)
{
log_info (_("connection to agent "
- "established (%ds)\n"), i+1);
+ "established\n"));
did_success_msg = 1;
}
break;
@@ -624,11 +625,12 @@ start_new_dirmngr (assuan_context_t *r_ctx,
{
int i;
- if (verbose)
- log_info (_("waiting %d seconds for the dirmngr to come up\n"),
- SECS_TO_WAIT_FOR_DIRMNGR);
for (i=0; i < SECS_TO_WAIT_FOR_DIRMNGR; i++)
{
+ if (verbose)
+ log_info (_("waiting for the dirmngr "
+ "to come up ... (%ds)\n"),
+ SECS_TO_WAIT_FOR_DIRMNGR - i);
gnupg_sleep (1);
err = assuan_socket_connect (ctx, sockname, 0, 0);
if (!err)
@@ -636,7 +638,7 @@ start_new_dirmngr (assuan_context_t *r_ctx,
if (verbose)
{
log_info (_("connection to the dirmngr"
- " established (%ds)\n"), i+1);
+ " established\n"));
did_success_msg = 1;
}
break;