summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2019-01-21 15:45:33 +0100
committerMarcello Stanisci <stanisci.m@gmail.com>2019-01-21 15:45:33 +0100
commit038d32c768109bd64d3cb6ab45178d09a434cb17 (patch)
treee948d60fc4a72e7b81d7d351029a0e3f11f49041 /src/lib
parent5f6236ec715410ddcfe3b0adf10f1f08b8aa1b91 (diff)
downloadexchange-038d32c768109bd64d3cb6ab45178d09a434cb17.tar.gz
exchange-038d32c768109bd64d3cb6ab45178d09a434cb17.tar.bz2
exchange-038d32c768109bd64d3cb6ab45178d09a434cb17.zip
debug
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/exchange_api_handle.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/exchange_api_handle.c b/src/lib/exchange_api_handle.c
index 284dbbb3..b2ac596f 100644
--- a/src/lib/exchange_api_handle.c
+++ b/src/lib/exchange_api_handle.c
@@ -711,6 +711,7 @@ update_auditors (struct TALER_EXCHANGE_Handle *exchange)
GNUNET_CONTAINER_DLL_insert (exchange->auditors_head,
exchange->auditors_tail,
ale);
+
ale->ah = TALER_AUDITOR_connect (exchange->ctx,
ale->auditor_url,
&auditor_version_cb,
@@ -719,7 +720,6 @@ update_auditors (struct TALER_EXCHANGE_Handle *exchange)
}
-
/**
* Decode the JSON in @a resp_obj from the /keys response
* and store the data in the @a key_data.
@@ -1808,6 +1808,8 @@ TALER_EXCHANGE_disconnect (struct TALER_EXCHANGE_Handle *exchange)
GNUNET_CONTAINER_DLL_remove (exchange->auditors_head,
exchange->auditors_tail,
ale);
+ TALER_LOG_DEBUG ("Disconnecting the auditor `%s'\n",
+ ale->auditor_url);
TALER_AUDITOR_disconnect (ale->ah);
GNUNET_free (ale->auditor_url);
GNUNET_free (ale);