aboutsummaryrefslogtreecommitdiff
path: root/src/dht/dht_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dht/dht_api.c')
-rw-r--r--src/dht/dht_api.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/dht/dht_api.c b/src/dht/dht_api.c
index eded50efc..9c378dca1 100644
--- a/src/dht/dht_api.c
+++ b/src/dht/dht_api.c
@@ -203,7 +203,8 @@ struct GNUNET_DHT_Handle
203/** 203/**
204 * Transmit the next pending message, called by notify_transmit_ready 204 * Transmit the next pending message, called by notify_transmit_ready
205 */ 205 */
206static size_t transmit_pending (void *cls, size_t size, void *buf); 206static size_t
207transmit_pending (void *cls, size_t size, void *buf);
207 208
208 209
209/** 210/**
@@ -211,8 +212,8 @@ static size_t transmit_pending (void *cls, size_t size, void *buf);
211 * a demultiplexer which handles numerous message types 212 * a demultiplexer which handles numerous message types
212 * 213 *
213 */ 214 */
214static void service_message_handler (void *cls, 215static void
215 const struct GNUNET_MessageHeader *msg); 216service_message_handler (void *cls, const struct GNUNET_MessageHeader *msg);
216 217
217 218
218 219
@@ -273,7 +274,8 @@ add_request_to_pending (void *cls, const GNUNET_HashCode * key, void *value)
273 * Try to send messages from list of messages to send 274 * Try to send messages from list of messages to send
274 * @param handle DHT_Handle 275 * @param handle DHT_Handle
275 */ 276 */
276static void process_pending_messages (struct GNUNET_DHT_Handle *handle); 277static void
278process_pending_messages (struct GNUNET_DHT_Handle *handle);
277 279
278 280
279/** 281/**
@@ -760,11 +762,9 @@ GNUNET_DHT_route_stop (struct GNUNET_DHT_RouteHandle *route_handle)
760 route_handle->message); 762 route_handle->message);
761 } 763 }
762 GNUNET_assert (GNUNET_YES == 764 GNUNET_assert (GNUNET_YES ==
763 GNUNET_CONTAINER_multihashmap_remove (route_handle-> 765 GNUNET_CONTAINER_multihashmap_remove
764 dht_handle-> 766 (route_handle->dht_handle->active_requests, &route_handle->key,
765 active_requests, 767 route_handle));
766 &route_handle->key,
767 route_handle));
768 GNUNET_free (route_handle->message); 768 GNUNET_free (route_handle->message);
769 GNUNET_free (route_handle); 769 GNUNET_free (route_handle);
770 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "DHT route stop request processed\n"); 770 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "DHT route stop request processed\n");