From: xrs Date: Thu, 4 Jan 2018 09:20:42 +0000 (+0100) Subject: minor change X-Git-Tag: v0.11.0pre66~255 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5e86c08e001bd194d1a5d5c920b85637c8f473c3;p=oweals%2Fgnunet.git minor change --- 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.