commit e364aa76e1325db339c3ecfab3a3d7155c4c911f
parent 30aa3d405965cbe8b7f7734d740e96e917bfa381
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date: Mon, 19 Mar 2018 18:47:52 +0100
fix segfault.
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git 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;