From 5e86c08e001bd194d1a5d5c920b85637c8f473c3 Mon Sep 17 00:00:00 2001 From: xrs Date: Thu, 4 Jan 2018 10:20:42 +0100 Subject: [PATCH] minor change --- src/psyc/test_psyc2.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/psyc/test_psyc2.c b/src/psyc/test_psyc2.c index b8ed0132e..bbf3eed9d 100644 --- a/src/psyc/test_psyc2.c +++ b/src/psyc/test_psyc2.c @@ -211,13 +211,7 @@ service_connect (void *cls, GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Connected to service\n"); - if (NULL == ca_result) - { - GNUNET_log (GNUNET_ERROR_TYPE_ERROR, - "Connection adapter not created"); - result = GNUNET_SYSERR; - GNUNET_SCHEDULER_shutdown(); - } + GNUNET_assert (NULL != ca_result); // FIXME: we need a simple service handle to connect to the service, then // get peer information and AFTER that make PSYC ops. Compare to CADET. -- 2.25.1