diff options
Diffstat (limited to 'src/plugins/fs/directory.c')
-rw-r--r-- | src/plugins/fs/directory.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/plugins/fs/directory.c b/src/plugins/fs/directory.c index a0f659fc..25a6e885 100644 --- a/src/plugins/fs/directory.c +++ b/src/plugins/fs/directory.c | |||
@@ -87,7 +87,6 @@ on_open_menu_activate_fs (GtkWidget * dummy1, GtkWidget * dummy2) | |||
87 | int fd; | 87 | int fd; |
88 | SearchList *list; | 88 | SearchList *list; |
89 | struct GNUNET_ECRS_URI *uri; | 89 | struct GNUNET_ECRS_URI *uri; |
90 | const char *kws[2]; | ||
91 | GtkNotebook *notebook; | 90 | GtkNotebook *notebook; |
92 | 91 | ||
93 | dn = selectFile (); | 92 | dn = selectFile (); |
@@ -119,9 +118,7 @@ on_open_menu_activate_fs (GtkWidget * dummy1, GtkWidget * dummy2) | |||
119 | GNUNET_free (dn); | 118 | GNUNET_free (dn); |
120 | return; | 119 | return; |
121 | } | 120 | } |
122 | kws[0] = dn; | 121 | uri = GNUNET_ECRS_keyword_string_to_uri (NULL, dn); |
123 | kws[1] = NULL; | ||
124 | uri = GNUNET_ECRS_keyword_strings_to_uri (kws); | ||
125 | md = NULL; | 122 | md = NULL; |
126 | list = fs_search_started (NULL, uri, 0, 0, NULL, GNUNET_FSUI_COMPLETED); | 123 | list = fs_search_started (NULL, uri, 0, 0, NULL, GNUNET_FSUI_COMPLETED); |
127 | GNUNET_ECRS_uri_destroy (uri); | 124 | GNUNET_ECRS_uri_destroy (uri); |