aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-service-fs_pe.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-05-25 10:23:29 +0000
committerChristian Grothoff <christian@grothoff.org>2011-05-25 10:23:29 +0000
commitd3eb5c204a022cd4d01b670d3978472ca364d3df (patch)
treeb77a5a5480713d2c44c7acd51ff5f0cfdea62c5f /src/fs/gnunet-service-fs_pe.c
parent445b46d3240aeb26893ec97678e7706ffa8911d4 (diff)
downloadgnunet-d3eb5c204a022cd4d01b670d3978472ca364d3df.tar.gz
gnunet-d3eb5c204a022cd4d01b670d3978472ca364d3df.zip
nicer debugs
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 4dc9de1b8..309270e9b 100644
--- a/src/fs/gnunet-service-fs_pe.c
+++ b/src/fs/gnunet-service-fs_pe.c
@@ -281,7 +281,7 @@ schedule_peer_transmission (void *cls,
281 } 281 }
282 /* process from priority heap */ 282 /* process from priority heap */
283 rp = GNUNET_CONTAINER_heap_peek (pp->priority_heap); 283 rp = GNUNET_CONTAINER_heap_peek (pp->priority_heap);
284#if DEBUG_FS 284#if DEBUG_FS > 1
285 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 285 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
286 "Executing query plan %p\n", 286 "Executing query plan %p\n",
287 rp); 287 rp);
@@ -314,6 +314,7 @@ GSF_plan_add_ (struct GSF_ConnectedPeer *cp,
314 struct GSF_PendingRequestData *prd; 314 struct GSF_PendingRequestData *prd;
315 struct GSF_RequestPlan *rp; 315 struct GSF_RequestPlan *rp;
316 316
317 GNUNET_assert (NULL != cp);
317 GSF_connected_peer_get_identity_ (cp, &id); 318 GSF_connected_peer_get_identity_ (cp, &id);
318 pp = GNUNET_CONTAINER_multihashmap_get (plans, 319 pp = GNUNET_CONTAINER_multihashmap_get (plans,
319 &id.hashPubKey); 320 &id.hashPubKey);