diff options
Diffstat (limited to 'src/fs/gnunet-service-fs_indexing.c')
-rw-r--r-- | src/fs/gnunet-service-fs_indexing.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fs/gnunet-service-fs_indexing.c b/src/fs/gnunet-service-fs_indexing.c index b5e8af95f..f3cc03adc 100644 --- a/src/fs/gnunet-service-fs_indexing.c +++ b/src/fs/gnunet-service-fs_indexing.c | |||
@@ -528,9 +528,9 @@ GNUNET_FS_add_to_index (const char *filename, | |||
528 | ii = GNUNET_malloc (sizeof (struct IndexInfo) + slen); | 528 | ii = GNUNET_malloc (sizeof (struct IndexInfo) + slen); |
529 | ii->file_id = *file_id; | 529 | ii->file_id = *file_id; |
530 | ii->filename = (const char *) &ii[1]; | 530 | ii->filename = (const char *) &ii[1]; |
531 | memcpy (&ii[1], | 531 | GNUNET_memcpy (&ii[1], |
532 | filename, | 532 | filename, |
533 | slen); | 533 | slen); |
534 | GNUNET_CONTAINER_DLL_insert (indexed_files_head, | 534 | GNUNET_CONTAINER_DLL_insert (indexed_files_head, |
535 | indexed_files_tail, | 535 | indexed_files_tail, |
536 | ii); | 536 | ii); |