aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-service-fs_pe.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-03-25 10:53:50 +0000
committerChristian Grothoff <christian@grothoff.org>2011-03-25 10:53:50 +0000
commit8d9a9ab3714c070341acc2956c55bd039fcf9eaa (patch)
treeb4355e64c96596cd2a0155d761f0344b7f78c989 /src/fs/gnunet-service-fs_pe.c
parentb3e356a28f8c75b96edef47361f368f9fe8b48c3 (diff)
downloadgnunet-8d9a9ab3714c070341acc2956c55bd039fcf9eaa.tar.gz
gnunet-8d9a9ab3714c070341acc2956c55bd039fcf9eaa.zip
fix
Diffstat (limited to 'src/fs/gnunet-service-fs_pe.c')
-rw-r--r--src/fs/gnunet-service-fs_pe.c3
1 files changed, 2 insertions, 1 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,