aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-helper-fs-publish.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/gnunet-helper-fs-publish.c')
-rw-r--r--src/fs/gnunet-helper-fs-publish.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/gnunet-helper-fs-publish.c b/src/fs/gnunet-helper-fs-publish.c
index 7accf79ac..a1a2c1a80 100644
--- a/src/fs/gnunet-helper-fs-publish.c
+++ b/src/fs/gnunet-helper-fs-publish.c
@@ -340,7 +340,7 @@ extract_files (struct ScanTreeNode *item)
340 } 340 }
341 { 341 {
342 char buf[size + slen]; 342 char buf[size + slen];
343 char *dst = buf; 343 char *dst = &buf[slen];
344 344
345 memcpy (buf, item->filename, slen); 345 memcpy (buf, item->filename, slen);
346 size = GNUNET_CONTAINER_meta_data_serialize (meta, 346 size = GNUNET_CONTAINER_meta_data_serialize (meta,