diff options
author | Nils Durner <durner@gnunet.org> | 2009-08-09 08:25:58 +0000 |
---|---|---|
committer | Nils Durner <durner@gnunet.org> | 2009-08-09 08:25:58 +0000 |
commit | b309c5f5ae339faf3632f7ee3a86520981f6523a (patch) | |
tree | 76a946e557092b5a7dd88119e2193a1849890bc0 /src/core | |
parent | 3ec9635b91ede9037261608d3d173e348c7d9bd8 (diff) | |
download | gnunet-b309c5f5ae339faf3632f7ee3a86520981f6523a.tar.gz gnunet-b309c5f5ae339faf3632f7ee3a86520981f6523a.zip |
rename NETWORK_socket API to NETWORK_connection (to make room for the new actual NET API)
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/core_api.c | 2 | ||||
-rw-r--r-- | src/core/gnunet-service-core.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/core_api.c b/src/core/core_api.c index f3e30eb9a..6a1b88147 100644 --- a/src/core/core_api.c +++ b/src/core/core_api.c | |||
@@ -836,7 +836,7 @@ void | |||
836 | GNUNET_CORE_disconnect (struct GNUNET_CORE_Handle *handle) | 836 | GNUNET_CORE_disconnect (struct GNUNET_CORE_Handle *handle) |
837 | { | 837 | { |
838 | if (handle->th != NULL) | 838 | if (handle->th != NULL) |
839 | GNUNET_NETWORK_notify_transmit_ready_cancel (handle->th); | 839 | GNUNET_NETWORK_connection_notify_transmit_ready_cancel (handle->th); |
840 | if (handle->reconnect_task != GNUNET_SCHEDULER_NO_TASK) | 840 | if (handle->reconnect_task != GNUNET_SCHEDULER_NO_TASK) |
841 | GNUNET_SCHEDULER_cancel (handle->sched, handle->reconnect_task); | 841 | GNUNET_SCHEDULER_cancel (handle->sched, handle->reconnect_task); |
842 | GNUNET_CLIENT_disconnect (handle->client); | 842 | GNUNET_CLIENT_disconnect (handle->client); |
diff --git a/src/core/gnunet-service-core.c b/src/core/gnunet-service-core.c index 6f6129f77..a6a64a9fd 100644 --- a/src/core/gnunet-service-core.c +++ b/src/core/gnunet-service-core.c | |||
@@ -1021,7 +1021,7 @@ handle_client_disconnect (void *cls, struct GNUNET_SERVER_Client *client) | |||
1021 | else | 1021 | else |
1022 | prev->next = pos->next; | 1022 | prev->next = pos->next; |
1023 | if (pos->th != NULL) | 1023 | if (pos->th != NULL) |
1024 | GNUNET_NETWORK_notify_transmit_ready_cancel (pos->th); | 1024 | GNUNET_NETWORK_connection_notify_transmit_ready_cancel (pos->th); |
1025 | while (NULL != (e = pos->event_head)) | 1025 | while (NULL != (e = pos->event_head)) |
1026 | { | 1026 | { |
1027 | pos->event_head = e->next; | 1027 | pos->event_head = e->next; |