From b2ccc92445c16abf0e001ffd877fce4ca50fec21 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 22 Jan 2010 17:02:53 +0000 Subject: [PATCH] fix --- src/core/core_api.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/core/core_api.c b/src/core/core_api.c index a23313499..77c13db86 100644 --- a/src/core/core_api.c +++ b/src/core/core_api.c @@ -91,11 +91,6 @@ struct GNUNET_CORE_Handle */ struct GNUNET_CLIENT_Connection *client_notifications; - /** - * Our connection to the service for normal requests. - */ - struct GNUNET_CLIENT_Connection *client_requests; - /** * Handle for our current transmission request. */ @@ -362,7 +357,7 @@ trigger_next_request (struct GNUNET_CORE_Handle *h) GNUNET_SCHEDULER_cancel (h->sched, th->timeout_task); th->timeout_task = GNUNET_SCHEDULER_NO_TASK; } - h->th = GNUNET_CLIENT_notify_transmit_ready (h->client_requests, + h->th = GNUNET_CLIENT_notify_transmit_ready (h->client_notifications, th->msize, GNUNET_TIME_absolute_get_remaining (th->timeout), @@ -799,8 +794,6 @@ GNUNET_CORE_disconnect (struct GNUNET_CORE_Handle *handle) if (handle->reconnect_task != GNUNET_SCHEDULER_NO_TASK) GNUNET_SCHEDULER_cancel (handle->sched, handle->reconnect_task); GNUNET_CLIENT_disconnect (handle->client_notifications); - if (handle->client_requests != NULL) - GNUNET_CLIENT_disconnect (handle->client_requests); GNUNET_free_non_null (handle->solicit_buffer); GNUNET_free (handle); } -- 2.25.1