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/fs/gnunet-service-fs.c | |
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/fs/gnunet-service-fs.c')
-rw-r--r-- | src/fs/gnunet-service-fs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fs/gnunet-service-fs.c b/src/fs/gnunet-service-fs.c index c83d73555..e38fdb032 100644 --- a/src/fs/gnunet-service-fs.c +++ b/src/fs/gnunet-service-fs.c | |||
@@ -1181,7 +1181,7 @@ shutdown_task (void *cls) | |||
1181 | GSF_cadet_stop_server (); | 1181 | GSF_cadet_stop_server (); |
1182 | if (NULL != GSF_core) | 1182 | if (NULL != GSF_core) |
1183 | { | 1183 | { |
1184 | GNUNET_CORE_disconnecT (GSF_core); | 1184 | GNUNET_CORE_disconnect (GSF_core); |
1185 | GSF_core = NULL; | 1185 | GSF_core = NULL; |
1186 | } | 1186 | } |
1187 | if (NULL != GSF_ats) | 1187 | if (NULL != GSF_ats) |
@@ -1219,7 +1219,7 @@ shutdown_task (void *cls) | |||
1219 | 1219 | ||
1220 | 1220 | ||
1221 | /** | 1221 | /** |
1222 | * Function called after GNUNET_CORE_connecT has succeeded | 1222 | * Function called after GNUNET_CORE_connect has succeeded |
1223 | * (or failed for good). Note that the private key of the | 1223 | * (or failed for good). Note that the private key of the |
1224 | * peer is intentionally not exposed here; if you need it, | 1224 | * peer is intentionally not exposed here; if you need it, |
1225 | * your process should try to read the private key file | 1225 | * your process should try to read the private key file |
@@ -1299,7 +1299,7 @@ main_init (const struct GNUNET_CONFIGURATION_Handle *c) | |||
1299 | "I am peer %s\n", | 1299 | "I am peer %s\n", |
1300 | GNUNET_i2s (&GSF_my_id)); | 1300 | GNUNET_i2s (&GSF_my_id)); |
1301 | GSF_core | 1301 | GSF_core |
1302 | = GNUNET_CORE_connecT (GSF_cfg, | 1302 | = GNUNET_CORE_connect (GSF_cfg, |
1303 | NULL, | 1303 | NULL, |
1304 | &peer_init_handler, | 1304 | &peer_init_handler, |
1305 | &GSF_peer_connect_handler, | 1305 | &GSF_peer_connect_handler, |