aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-01-22 17:02:53 +0000
committerChristian Grothoff <christian@grothoff.org>2010-01-22 17:02:53 +0000
commitb2ccc92445c16abf0e001ffd877fce4ca50fec21 (patch)
treed3e3d0c4385f0f816644683d46361b3d3cb40040 /src
parent98ea57dd2236542414e52792672d8563c8ca4294 (diff)
downloadgnunet-b2ccc92445c16abf0e001ffd877fce4ca50fec21.tar.gz
gnunet-b2ccc92445c16abf0e001ffd877fce4ca50fec21.zip
fix
Diffstat (limited to 'src')
-rw-r--r--src/core/core_api.c9
1 files changed, 1 insertions, 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
@@ -92,11 +92,6 @@ struct GNUNET_CORE_Handle
92 struct GNUNET_CLIENT_Connection *client_notifications; 92 struct GNUNET_CLIENT_Connection *client_notifications;
93 93
94 /** 94 /**
95 * Our connection to the service for normal requests.
96 */
97 struct GNUNET_CLIENT_Connection *client_requests;
98
99 /**
100 * Handle for our current transmission request. 95 * Handle for our current transmission request.
101 */ 96 */
102 struct GNUNET_CLIENT_TransmitHandle *th; 97 struct GNUNET_CLIENT_TransmitHandle *th;
@@ -362,7 +357,7 @@ trigger_next_request (struct GNUNET_CORE_Handle *h)
362 GNUNET_SCHEDULER_cancel (h->sched, th->timeout_task); 357 GNUNET_SCHEDULER_cancel (h->sched, th->timeout_task);
363 th->timeout_task = GNUNET_SCHEDULER_NO_TASK; 358 th->timeout_task = GNUNET_SCHEDULER_NO_TASK;
364 } 359 }
365 h->th = GNUNET_CLIENT_notify_transmit_ready (h->client_requests, 360 h->th = GNUNET_CLIENT_notify_transmit_ready (h->client_notifications,
366 th->msize, 361 th->msize,
367 GNUNET_TIME_absolute_get_remaining 362 GNUNET_TIME_absolute_get_remaining
368 (th->timeout), 363 (th->timeout),
@@ -799,8 +794,6 @@ GNUNET_CORE_disconnect (struct GNUNET_CORE_Handle *handle)
799 if (handle->reconnect_task != GNUNET_SCHEDULER_NO_TASK) 794 if (handle->reconnect_task != GNUNET_SCHEDULER_NO_TASK)
800 GNUNET_SCHEDULER_cancel (handle->sched, handle->reconnect_task); 795 GNUNET_SCHEDULER_cancel (handle->sched, handle->reconnect_task);
801 GNUNET_CLIENT_disconnect (handle->client_notifications); 796 GNUNET_CLIENT_disconnect (handle->client_notifications);
802 if (handle->client_requests != NULL)
803 GNUNET_CLIENT_disconnect (handle->client_requests);
804 GNUNET_free_non_null (handle->solicit_buffer); 797 GNUNET_free_non_null (handle->solicit_buffer);
805 GNUNET_free (handle); 798 GNUNET_free (handle);
806} 799}