aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-service-fs_cp.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-12-15 14:56:22 +0000
committerChristian Grothoff <christian@grothoff.org>2011-12-15 14:56:22 +0000
commit4e7a56b5f9e1600979cf3f3ce12f90240704ce59 (patch)
tree3f5e40f90130faf726fac2081896fc35cf118985 /src/fs/gnunet-service-fs_cp.c
parentf04c8750cca2dcfd35aceae3379b83637b8aadfc (diff)
downloadgnunet-4e7a56b5f9e1600979cf3f3ce12f90240704ce59.tar.gz
gnunet-4e7a56b5f9e1600979cf3f3ce12f90240704ce59.zip
use better heuristic to deal with datastore put failures; log migration stop message transmissions
Diffstat (limited to 'src/fs/gnunet-service-fs_cp.c')
-rw-r--r--src/fs/gnunet-service-fs_cp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fs/gnunet-service-fs_cp.c b/src/fs/gnunet-service-fs_cp.c
index 9d2385378..7560975db 100644
--- a/src/fs/gnunet-service-fs_cp.c
+++ b/src/fs/gnunet-service-fs_cp.c
@@ -1694,6 +1694,9 @@ create_migration_stop_message (void *cls, size_t size, void *buf)
1694 GNUNET_TIME_relative_hton (GNUNET_TIME_absolute_get_remaining 1694 GNUNET_TIME_relative_hton (GNUNET_TIME_absolute_get_remaining
1695 (cp->last_migration_block)); 1695 (cp->last_migration_block));
1696 memcpy (buf, &msm, sizeof (struct MigrationStopMessage)); 1696 memcpy (buf, &msm, sizeof (struct MigrationStopMessage));
1697 GNUNET_STATISTICS_update (GSF_stats,
1698 gettext_noop ("# migration stop messages sent"),
1699 1, GNUNET_NO);
1697 return sizeof (struct MigrationStopMessage); 1700 return sizeof (struct MigrationStopMessage);
1698} 1701}
1699 1702