aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/ChangeLog5
-rw-r--r--common/asshelp.c18
2 files changed, 15 insertions, 8 deletions
diff --git a/common/ChangeLog b/common/ChangeLog
index 310963067..c074c9844 100644
--- a/common/ChangeLog
+++ b/common/ChangeLog
@@ -1,3 +1,8 @@
+2010-11-25 Werner Koch <[email protected]>
+
+ * asshelp.c (start_new_gpg_agent): Change style of startup info.
+ (start_new_dirmngr): Ditto.
+
2010-11-23 Werner Koch <[email protected]>
* asshelp.c (SECS_TO_WAIT_FOR_AGENT, SECS_TO_WAIT_FOR_DIRMNGR):
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;