diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-01-10 17:38:29 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-01-10 17:38:29 +0100 |
commit | bf5f92d9429a556f68c950df7be3dc25907e0d6c (patch) | |
tree | 640b74c6a12a53ccac9925eb05b9e6d644d7e748 /src/nse | |
parent | 06c0c503acd9d523d4d18eeac862222a744db2ab (diff) | |
download | gnunet-bf5f92d9429a556f68c950df7be3dc25907e0d6c.tar.gz gnunet-bf5f92d9429a556f68c950df7be3dc25907e0d6c.zip |
rename connecT -> connect now that the old API is dead
Diffstat (limited to 'src/nse')
-rw-r--r-- | src/nse/gnunet-service-nse.c | 4 | ||||
-rw-r--r-- | src/nse/nse_api.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/nse/gnunet-service-nse.c b/src/nse/gnunet-service-nse.c index 511f95514..4d54a740b 100644 --- a/src/nse/gnunet-service-nse.c +++ b/src/nse/gnunet-service-nse.c | |||
@@ -1346,7 +1346,7 @@ shutdown_task (void *cls) | |||
1346 | } | 1346 | } |
1347 | if (NULL != core_api) | 1347 | if (NULL != core_api) |
1348 | { | 1348 | { |
1349 | GNUNET_CORE_disconnecT (core_api); | 1349 | GNUNET_CORE_disconnect (core_api); |
1350 | core_api = NULL; | 1350 | core_api = NULL; |
1351 | } | 1351 | } |
1352 | if (NULL != stats) | 1352 | if (NULL != stats) |
@@ -1607,7 +1607,7 @@ run (void *cls, | |||
1607 | GNUNET_YES); | 1607 | GNUNET_YES); |
1608 | nc = GNUNET_notification_context_create (1); | 1608 | nc = GNUNET_notification_context_create (1); |
1609 | /* Connect to core service and register core handlers */ | 1609 | /* Connect to core service and register core handlers */ |
1610 | core_api = GNUNET_CORE_connecT (cfg, /* Main configuration */ | 1610 | core_api = GNUNET_CORE_connect (cfg, /* Main configuration */ |
1611 | NULL, /* Closure passed to functions */ | 1611 | NULL, /* Closure passed to functions */ |
1612 | &core_init, /* Call core_init once connected */ | 1612 | &core_init, /* Call core_init once connected */ |
1613 | &handle_core_connect, /* Handle connects */ | 1613 | &handle_core_connect, /* Handle connects */ |
diff --git a/src/nse/nse_api.c b/src/nse/nse_api.c index cfe5482eb..d50b0214a 100644 --- a/src/nse/nse_api.c +++ b/src/nse/nse_api.c | |||
@@ -150,7 +150,7 @@ reconnect (void *cls) | |||
150 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 150 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
151 | "Connecting to network size estimation service.\n"); | 151 | "Connecting to network size estimation service.\n"); |
152 | GNUNET_assert (NULL == h->mq); | 152 | GNUNET_assert (NULL == h->mq); |
153 | h->mq = GNUNET_CLIENT_connecT (h->cfg, | 153 | h->mq = GNUNET_CLIENT_connect (h->cfg, |
154 | "nse", | 154 | "nse", |
155 | handlers, | 155 | handlers, |
156 | &mq_error_handler, | 156 | &mq_error_handler, |