summaryrefslogtreecommitdiff
path: root/src/lib/auditor_api_handle.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-03-13 19:13:36 +0100
committerChristian Grothoff <christian@grothoff.org>2020-03-13 19:13:36 +0100
commitdc02821d8f7b5247b6b01bbd70e9a15a5ab87885 (patch)
treeb2e9c3bde0cce6bdbb4f39de5acb80798cabbe6c /src/lib/auditor_api_handle.c
parente05ce36f301030feaa64c76bbfea24e34e05c496 (diff)
downloadexchange-dc02821d8f7b5247b6b01bbd70e9a15a5ab87885.tar.gz
exchange-dc02821d8f7b5247b6b01bbd70e9a15a5ab87885.tar.bz2
exchange-dc02821d8f7b5247b6b01bbd70e9a15a5ab87885.zip
fix regression introduced by addition of 'revoke' field
Diffstat (limited to 'src/lib/auditor_api_handle.c')
-rw-r--r--src/lib/auditor_api_handle.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/auditor_api_handle.c b/src/lib/auditor_api_handle.c
index c0555598..85f42c3f 100644
--- a/src/lib/auditor_api_handle.c
+++ b/src/lib/auditor_api_handle.c
@@ -318,7 +318,7 @@ version_completed_cb (void *cls,
response_code = 0;
break;
}
- auditor->retry_delay = GNUNET_TIME_UNIT_ZERO;
+ auditor->retry_delay = GNUNET_TIME_UNIT_ZERO; /* restart quickly */
break;
default:
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
@@ -443,6 +443,7 @@ TALER_AUDITOR_connect (struct GNUNET_CURL_Context *ctx,
GNUNET_CURL_append_header (ctx,
"Expect:"));
auditor = GNUNET_new (struct TALER_AUDITOR_Handle);
+ auditor->retry_delay = GNUNET_TIME_UNIT_SECONDS; /* start slowly */
auditor->ctx = ctx;
auditor->url = GNUNET_strdup (url);
auditor->version_cb = version_cb;