aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-service-fs_cp.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-04-19 21:01:44 +0000
committerChristian Grothoff <christian@grothoff.org>2011-04-19 21:01:44 +0000
commitff74c423c7528e4920a7591e0e64b0b282a81bec (patch)
treea5124fdd98ceb0cf2df4e19de256575daad5b197 /src/fs/gnunet-service-fs_cp.c
parent3121108ec2fd4f5c7a481955c8a02dc8ad65b40e (diff)
downloadgnunet-ff74c423c7528e4920a7591e0e64b0b282a81bec.tar.gz
gnunet-ff74c423c7528e4920a7591e0e64b0b282a81bec.zip
stuff
Diffstat (limited to 'src/fs/gnunet-service-fs_cp.c')
-rw-r--r--src/fs/gnunet-service-fs_cp.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/fs/gnunet-service-fs_cp.c b/src/fs/gnunet-service-fs_cp.c
index 702442bb2..2aec83efe 100644
--- a/src/fs/gnunet-service-fs_cp.c
+++ b/src/fs/gnunet-service-fs_cp.c
@@ -658,7 +658,7 @@ handle_p2p_reply (void *cls,
658 } 658 }
659#if DEBUG_FS 659#if DEBUG_FS
660 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 660 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
661 "Transmitting result for query `%s'\n", 661 "Transmitting result for query `%s' to peer\n",
662 GNUNET_h2s (&prd->query)); 662 GNUNET_h2s (&prd->query));
663#endif 663#endif
664 GNUNET_STATISTICS_update (GSF_stats, 664 GNUNET_STATISTICS_update (GSF_stats,
@@ -859,8 +859,9 @@ GSF_handle_p2p_query_ (const struct GNUNET_PeerIdentity *other,
859 gm = (const struct GetMessage*) message; 859 gm = (const struct GetMessage*) message;
860#if DEBUG_FS 860#if DEBUG_FS
861 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 861 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
862 "Received request for `%s'\n", 862 "Received request for `%s' from `%s'\n",
863 GNUNET_h2s (&gm->query)); 863 GNUNET_h2s (&gm->query),
864 GNUNET_i2s (other));
864#endif 865#endif
865 type = ntohl (gm->type); 866 type = ntohl (gm->type);
866 bm = ntohl (gm->hash_bitmap); 867 bm = ntohl (gm->hash_bitmap);
@@ -1548,14 +1549,14 @@ GSF_block_peer_migration_ (struct GSF_ConnectedPeer *cp,
1548{ 1549{
1549 if (GNUNET_TIME_absolute_get_remaining (cp->last_migration_block).rel_value > block_time.rel_value) 1550 if (GNUNET_TIME_absolute_get_remaining (cp->last_migration_block).rel_value > block_time.rel_value)
1550 { 1551 {
1551#if DEBUG_FS 1552#if DEBUG_FS && 0
1552 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 1553 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
1553 "Migration already blocked for another %llu ms\n", 1554 "Migration already blocked for another %llu ms\n",
1554 (unsigned long long) GNUNET_TIME_absolute_get_remaining (cp->last_migration_block).rel_value); 1555 (unsigned long long) GNUNET_TIME_absolute_get_remaining (cp->last_migration_block).rel_value);
1555#endif 1556#endif
1556 return; /* already blocked */ 1557 return; /* already blocked */
1557 } 1558 }
1558#if DEBUG_FS 1559#if DEBUG_FS && 0
1559 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 1560 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
1560 "Asking to stop migration for %llu ms\n", 1561 "Asking to stop migration for %llu ms\n",
1561 (unsigned long long) block_time.rel_value); 1562 (unsigned long long) block_time.rel_value);