diff options
Diffstat (limited to 'src/fs/gnunet-fs-gtk_open-directory.c')
-rw-r--r-- | src/fs/gnunet-fs-gtk_open-directory.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/fs/gnunet-fs-gtk_open-directory.c b/src/fs/gnunet-fs-gtk_open-directory.c index a83477ec..78c56816 100644 --- a/src/fs/gnunet-fs-gtk_open-directory.c +++ b/src/fs/gnunet-fs-gtk_open-directory.c | |||
@@ -68,7 +68,7 @@ static void | |||
68 | add_child (void *cls, | 68 | add_child (void *cls, |
69 | const char *filename, | 69 | const char *filename, |
70 | const struct GNUNET_FS_Uri *uri, | 70 | const struct GNUNET_FS_Uri *uri, |
71 | const struct GNUNET_CONTAINER_MetaData *meta, | 71 | const struct GNUNET_FS_MetaData *meta, |
72 | size_t length, | 72 | size_t length, |
73 | const void *data) | 73 | const void *data) |
74 | { | 74 | { |
@@ -77,10 +77,10 @@ add_child (void *cls, | |||
77 | if (NULL == uri) | 77 | if (NULL == uri) |
78 | { | 78 | { |
79 | /* directory meta data itself, create parent entry */ | 79 | /* directory meta data itself, create parent entry */ |
80 | struct GNUNET_CONTAINER_MetaData *dmeta; | 80 | struct GNUNET_FS_MetaData *dmeta; |
81 | 81 | ||
82 | dmeta = GNUNET_CONTAINER_meta_data_duplicate (meta); | 82 | dmeta = GNUNET_FS_meta_data_duplicate (meta); |
83 | GNUNET_CONTAINER_meta_data_insert (dmeta, | 83 | GNUNET_FS_meta_data_insert (dmeta, |
84 | "<user>", | 84 | "<user>", |
85 | EXTRACTOR_METATYPE_GNUNET_ORIGINAL_FILENAME, | 85 | EXTRACTOR_METATYPE_GNUNET_ORIGINAL_FILENAME, |
86 | EXTRACTOR_METAFORMAT_UTF8, | 86 | EXTRACTOR_METAFORMAT_UTF8, |
@@ -88,7 +88,7 @@ add_child (void *cls, | |||
88 | acc->filename, | 88 | acc->filename, |
89 | strlen (acc->filename) + 1); | 89 | strlen (acc->filename) + 1); |
90 | acc->sr = GNUNET_GTK_add_to_uri_tab (acc->anonymity, dmeta, NULL); | 90 | acc->sr = GNUNET_GTK_add_to_uri_tab (acc->anonymity, dmeta, NULL); |
91 | GNUNET_CONTAINER_meta_data_destroy (dmeta); | 91 | GNUNET_FS_meta_data_destroy (dmeta); |
92 | return; | 92 | return; |
93 | } | 93 | } |
94 | if (NULL == acc->sr) | 94 | if (NULL == acc->sr) |