From bf5f92d9429a556f68c950df7be3dc25907e0d6c Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 10 Jan 2017 17:38:29 +0100 Subject: rename connecT -> connect now that the old API is dead --- src/core/test_core_api_start_only.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/core/test_core_api_start_only.c') diff --git a/src/core/test_core_api_start_only.c b/src/core/test_core_api_start_only.c index 6abc3cc89..31e300b14 100644 --- a/src/core/test_core_api_start_only.c +++ b/src/core/test_core_api_start_only.c @@ -74,9 +74,9 @@ static struct GNUNET_MQ_MessageHandler handlers[] = { static void shutdown_task (void *cls) { - GNUNET_CORE_disconnecT (p1.ch); + GNUNET_CORE_disconnect (p1.ch); p1.ch = NULL; - GNUNET_CORE_disconnecT (p2.ch); + GNUNET_CORE_disconnect (p2.ch); p2.ch = NULL; ok = 0; } @@ -91,7 +91,7 @@ init_notify (void *cls, if (p == &p1) { /* connect p2 */ - p2.ch = GNUNET_CORE_connecT (p2.cfg, + p2.ch = GNUNET_CORE_connect (p2.cfg, &p2, &init_notify, &connect_notify, @@ -140,12 +140,12 @@ timeout_task (void *cls) "Timeout.\n"); if (NULL != p1.ch) { - GNUNET_CORE_disconnecT (p1.ch); + GNUNET_CORE_disconnect (p1.ch); p1.ch = NULL; } if (NULL != p2.ch) { - GNUNET_CORE_disconnecT (p2.ch); + GNUNET_CORE_disconnect (p2.ch); p2.ch = NULL; } ok = 42; @@ -168,7 +168,7 @@ run (void *cls, TIMEOUT), &timeout_task, NULL); - p1.ch = GNUNET_CORE_connecT (p1.cfg, + p1.ch = GNUNET_CORE_connect (p1.cfg, &p1, &init_notify, &connect_notify, -- cgit v1.2.3