diff options
author | Florian Dold <dold@inria.fr> | 2015-12-23 23:50:54 +0100 |
---|---|---|
committer | Florian Dold <dold@inria.fr> | 2015-12-23 23:50:54 +0100 |
commit | ab9ad17e9591579cadd21e1a898412466a80d3a8 (patch) | |
tree | 21b0eacffe37e53fa85e894e0f1a66d58541e80b /src/mint-lib/mint_api_handle.c | |
parent | 4e4a90d6ad14575d94c0623bf4c1a7f77eab15e3 (diff) |
logging
Diffstat (limited to 'src/mint-lib/mint_api_handle.c')
-rw-r--r-- | src/mint-lib/mint_api_handle.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/mint-lib/mint_api_handle.c b/src/mint-lib/mint_api_handle.c index c9359508c..a7f779229 100644 --- a/src/mint-lib/mint_api_handle.c +++ b/src/mint-lib/mint_api_handle.c @@ -604,13 +604,15 @@ keys_completed_cb (void *cls, json_t *resp_obj; long response_code; - GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, - "Received keys from URL `%s'.\n", - kr->url); - resp_obj = MAC_download_get_result (&kr->db, eh, &response_code); + + GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, + "Received keys from URL `%s' with status %ld.\n", + kr->url, + response_code); + switch (response_code) { case 0: break; |