diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-01-29 21:41:24 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-01-29 21:41:24 +0000 |
commit | 6756773dbc5aee6135ba8067cbf67aaf48cbfaf6 (patch) | |
tree | 9dd6bfb42ed814653a2e622923332db54b007a7d /src/fs/gnunet-helper-fs-publish.c | |
parent | 68401426269d202ae48d4942842f365198886c57 (diff) | |
download | gnunet-6756773dbc5aee6135ba8067cbf67aaf48cbfaf6.tar.gz gnunet-6756773dbc5aee6135ba8067cbf67aaf48cbfaf6.zip |
-fs publish should basically work now
Diffstat (limited to 'src/fs/gnunet-helper-fs-publish.c')
-rw-r--r-- | src/fs/gnunet-helper-fs-publish.c | 2 |
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, |