1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

Remove superfluous parameter.

Make self-check interval larger
This commit is contained in:
Werner Koch 2010-11-26 09:42:56 +00:00
parent eb4d690db2
commit 41a33e0c78
13 changed files with 81 additions and 89 deletions

View file

@ -1,3 +1,8 @@
2010-11-25 Werner Koch <wk@g10code.com>
* asshelp.c (start_new_gpg_agent): Change style of startup info.
(start_new_dirmngr): Ditto.
2010-11-23 Werner Koch <wk@g10code.com>
* asshelp.c (SECS_TO_WAIT_FOR_AGENT, SECS_TO_WAIT_FOR_DIRMNGR):

View file

@ -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;