aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/fs/gnunet-service-fs_pe.c3
-rw-r--r--src/fs/gnunet-service-fs_pe.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/fs/gnunet-service-fs_pe.c b/src/fs/gnunet-service-fs_pe.c
index fe6c995ed..450635f03 100644
--- a/src/fs/gnunet-service-fs_pe.c
+++ b/src/fs/gnunet-service-fs_pe.c
@@ -267,7 +267,7 @@ schedule_peer_transmission (void *cls,
267 * @param pr request with the entry 267 * @param pr request with the entry
268 */ 268 */
269void 269void
270GSF_plan_add_ (const struct GSF_ConnectedPeer *cp, 270GSF_plan_add_ (struct GSF_ConnectedPeer *cp,
271 struct GSF_PendingRequest *pr) 271 struct GSF_PendingRequest *pr)
272{ 272{
273 struct GNUNET_PeerIdentity id; 273 struct GNUNET_PeerIdentity id;
@@ -283,6 +283,7 @@ GSF_plan_add_ (const struct GSF_ConnectedPeer *cp,
283 pp = GNUNET_malloc (sizeof (struct PeerPlan)); 283 pp = GNUNET_malloc (sizeof (struct PeerPlan));
284 pp->priority_heap = GNUNET_CONTAINER_heap_create (GNUNET_CONTAINER_HEAP_ORDER_MAX); 284 pp->priority_heap = GNUNET_CONTAINER_heap_create (GNUNET_CONTAINER_HEAP_ORDER_MAX);
285 pp->delay_heap = GNUNET_CONTAINER_heap_create (GNUNET_CONTAINER_HEAP_ORDER_MIN); 285 pp->delay_heap = GNUNET_CONTAINER_heap_create (GNUNET_CONTAINER_HEAP_ORDER_MIN);
286 pp->cp = cp;
286 GNUNET_CONTAINER_multihashmap_put (plans, 287 GNUNET_CONTAINER_multihashmap_put (plans,
287 &id.hashPubKey, 288 &id.hashPubKey,
288 pp, 289 pp,
diff --git a/src/fs/gnunet-service-fs_pe.h b/src/fs/gnunet-service-fs_pe.h
index eaa3767cd..37280adc6 100644
--- a/src/fs/gnunet-service-fs_pe.h
+++ b/src/fs/gnunet-service-fs_pe.h
@@ -36,7 +36,7 @@
36 * @param pr request with the entry 36 * @param pr request with the entry
37 */ 37 */
38void 38void
39GSF_plan_add_ (const struct GSF_ConnectedPeer *cp, 39GSF_plan_add_ (struct GSF_ConnectedPeer *cp,
40 struct GSF_PendingRequest *pr); 40 struct GSF_PendingRequest *pr);
41 41
42 42