aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxrs <xrs@mail36.net>2018-01-04 10:20:42 +0100
committerxrs <xrs@mail36.net>2018-01-04 10:20:42 +0100
commit5e86c08e001bd194d1a5d5c920b85637c8f473c3 (patch)
treebe2b2b541a6fc7d39c79c95c433759e71b04f817
parentab14881851637e59a50d2e735c9122314bda5000 (diff)
minor change
-rw-r--r--src/psyc/test_psyc2.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/psyc/test_psyc2.c b/src/psyc/test_psyc2.c
index b8ed0132e2..bbf3eed9d9 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.