aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-service-fs_cp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/gnunet-service-fs_cp.c')
-rw-r--r--src/fs/gnunet-service-fs_cp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fs/gnunet-service-fs_cp.c b/src/fs/gnunet-service-fs_cp.c
index ceb74a271..bda33d766 100644
--- a/src/fs/gnunet-service-fs_cp.c
+++ b/src/fs/gnunet-service-fs_cp.c
@@ -780,7 +780,7 @@ copy_reply (void *cls,
780 { 780 {
781 GNUNET_assert (buf_size >= ntohs (pm->header.size)); 781 GNUNET_assert (buf_size >= ntohs (pm->header.size));
782 size = ntohs (pm->header.size); 782 size = ntohs (pm->header.size);
783 memcpy (buf, pm, size); 783 GNUNET_memcpy (buf, pm, size);
784 GNUNET_STATISTICS_update (GSF_stats, 784 GNUNET_STATISTICS_update (GSF_stats,
785 gettext_noop ("# replies transmitted to other peers"), 785 gettext_noop ("# replies transmitted to other peers"),
786 1, 786 1,
@@ -1005,7 +1005,7 @@ handle_p2p_reply (void *cls,
1005 pm->header.size = htons (msize); 1005 pm->header.size = htons (msize);
1006 pm->type = htonl (type); 1006 pm->type = htonl (type);
1007 pm->expiration = GNUNET_TIME_absolute_hton (expiration); 1007 pm->expiration = GNUNET_TIME_absolute_hton (expiration);
1008 memcpy (&pm[1], data, data_len); 1008 GNUNET_memcpy (&pm[1], data, data_len);
1009 if ( (UINT32_MAX != reply_anonymity_level) && 1009 if ( (UINT32_MAX != reply_anonymity_level) &&
1010 (0 != reply_anonymity_level) && 1010 (0 != reply_anonymity_level) &&
1011 (GNUNET_YES == GSF_enable_randomized_delays) ) 1011 (GNUNET_YES == GSF_enable_randomized_delays) )
@@ -1908,7 +1908,7 @@ create_migration_stop_message (void *cls,
1908 msm.duration = 1908 msm.duration =
1909 GNUNET_TIME_relative_hton (GNUNET_TIME_absolute_get_remaining 1909 GNUNET_TIME_relative_hton (GNUNET_TIME_absolute_get_remaining
1910 (cp->last_migration_block)); 1910 (cp->last_migration_block));
1911 memcpy (buf, &msm, sizeof (struct MigrationStopMessage)); 1911 GNUNET_memcpy (buf, &msm, sizeof (struct MigrationStopMessage));
1912 GNUNET_STATISTICS_update (GSF_stats, 1912 GNUNET_STATISTICS_update (GSF_stats,
1913 gettext_noop ("# migration stop messages sent"), 1913 gettext_noop ("# migration stop messages sent"),
1914 1, GNUNET_NO); 1914 1, GNUNET_NO);