aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-03-19 18:47:52 +0100
committerMarcello Stanisci <stanisci.m@gmail.com>2018-03-19 18:47:52 +0100
commite364aa76e1325db339c3ecfab3a3d7155c4c911f (patch)
tree4f82548cbe5cc64168a5db27f13cb4a9256571fa
parent30aa3d405965cbe8b7f7734d740e96e917bfa381 (diff)
fix segfault.
-rw-r--r--src/exchange-lib/testing_api_loop.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/exchange-lib/testing_api_loop.c b/src/exchange-lib/testing_api_loop.c
index e179c209d..592843ba9 100644
--- a/src/exchange-lib/testing_api_loop.c
+++ b/src/exchange-lib/testing_api_loop.c
@@ -475,10 +475,10 @@ cert_cb (void *cls,
"Got NULL response for /keys\n");
}
-
- GNUNET_log (GNUNET_ERROR_TYPE_INFO,
- "Got %d DK from /keys\n",
- keys->num_denom_keys);
+ else
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+ "Got %d DK from /keys\n",
+ keys->num_denom_keys);
main_ctx->is->key_generation++;
main_ctx->is->keys = keys;