diff options
Diffstat (limited to 'src/plugins/fs/meta.c')
-rw-r--r-- | src/plugins/fs/meta.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/plugins/fs/meta.c b/src/plugins/fs/meta.c index 3a865602..feb4a886 100644 --- a/src/plugins/fs/meta.c +++ b/src/plugins/fs/meta.c | |||
@@ -125,7 +125,7 @@ createMetaDataListTreeView (GladeXML * xml, | |||
125 | } | 125 | } |
126 | 126 | ||
127 | static int | 127 | static int |
128 | publishKeyword (const char *data, void *cls) | 128 | publishKeyword (const char *data, int is_mandatory, void *cls) |
129 | { | 129 | { |
130 | GtkListStore *store = cls; | 130 | GtkListStore *store = cls; |
131 | GtkTreeIter iter; | 131 | GtkTreeIter iter; |
@@ -398,9 +398,7 @@ getKeywordURIFromList (GladeXML * xml, const char *name) | |||
398 | } | 398 | } |
399 | while (gtk_tree_model_iter_next (keymodel, &iter)); | 399 | while (gtk_tree_model_iter_next (keymodel, &iter)); |
400 | } | 400 | } |
401 | keywords[kpos] = NULL; | 401 | keywordURI = GNUNET_ECRS_keyword_command_line_to_uri (NULL, kpos, (const char**) keywords); |
402 | |||
403 | keywordURI = GNUNET_ECRS_keyword_strings_to_uri ((const char **) keywords); | ||
404 | while (kpos > 0) | 402 | while (kpos > 0) |
405 | GNUNET_free (keywords[--kpos]); | 403 | GNUNET_free (keywords[--kpos]); |
406 | GNUNET_array_grow (keywords, ksize, 0); | 404 | GNUNET_array_grow (keywords, ksize, 0); |