diff options
Diffstat (limited to 'src/testbed/gnunet-service-testbed_connectionpool.c')
-rw-r--r-- | src/testbed/gnunet-service-testbed_connectionpool.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/testbed/gnunet-service-testbed_connectionpool.c b/src/testbed/gnunet-service-testbed_connectionpool.c index b0e369c6a..6bc744ba8 100644 --- a/src/testbed/gnunet-service-testbed_connectionpool.c +++ b/src/testbed/gnunet-service-testbed_connectionpool.c | |||
@@ -623,12 +623,12 @@ core_peer_connect_cb (void *cls, | |||
623 | 623 | ||
624 | 624 | ||
625 | /** | 625 | /** |
626 | * Function called after #GNUNET_CORE_connecT() has succeeded (or failed | 626 | * Function called after #GNUNET_CORE_connect() has succeeded (or failed |
627 | * for good). Note that the private key of the peer is intentionally | 627 | * for good). Note that the private key of the peer is intentionally |
628 | * not exposed here; if you need it, your process should try to read | 628 | * not exposed here; if you need it, your process should try to read |
629 | * the private key file directly (which should work if you are | 629 | * the private key file directly (which should work if you are |
630 | * authorized...). Implementations of this function must not call | 630 | * authorized...). Implementations of this function must not call |
631 | * #GNUNET_CORE_disconnecT() (other than by scheduling a new task to | 631 | * #GNUNET_CORE_disconnect() (other than by scheduling a new task to |
632 | * do this later). | 632 | * do this later). |
633 | * | 633 | * |
634 | * @param cls the #PooledConnection object | 634 | * @param cls the #PooledConnection object |
@@ -675,7 +675,7 @@ opstart_get_handle_core (void *cls) | |||
675 | LOG_DEBUG ("Opening a CORE connection to peer %u\n", | 675 | LOG_DEBUG ("Opening a CORE connection to peer %u\n", |
676 | entry->index); | 676 | entry->index); |
677 | entry->handle_core | 677 | entry->handle_core |
678 | = GNUNET_CORE_connecT (entry->cfg, | 678 | = GNUNET_CORE_connect (entry->cfg, |
679 | entry, /* closure */ | 679 | entry, /* closure */ |
680 | &core_startup_cb, /* core startup notify */ | 680 | &core_startup_cb, /* core startup notify */ |
681 | &core_peer_connect_cb, /* peer connect notify */ | 681 | &core_peer_connect_cb, /* peer connect notify */ |
@@ -697,7 +697,7 @@ oprelease_get_handle_core (void *cls) | |||
697 | 697 | ||
698 | if (NULL == entry->handle_core) | 698 | if (NULL == entry->handle_core) |
699 | return; | 699 | return; |
700 | GNUNET_CORE_disconnecT (entry->handle_core); | 700 | GNUNET_CORE_disconnect (entry->handle_core); |
701 | entry->handle_core = NULL; | 701 | entry->handle_core = NULL; |
702 | GNUNET_free_non_null (entry->peer_identity); | 702 | GNUNET_free_non_null (entry->peer_identity); |
703 | entry->peer_identity = NULL; | 703 | entry->peer_identity = NULL; |