diff options
Diffstat (limited to 'src/fs/gnunet-fs-gtk-main_window_adv_pseudonym.c')
-rw-r--r-- | src/fs/gnunet-fs-gtk-main_window_adv_pseudonym.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fs/gnunet-fs-gtk-main_window_adv_pseudonym.c b/src/fs/gnunet-fs-gtk-main_window_adv_pseudonym.c index 711b78fa..11f983a8 100644 --- a/src/fs/gnunet-fs-gtk-main_window_adv_pseudonym.c +++ b/src/fs/gnunet-fs-gtk-main_window_adv_pseudonym.c | |||
@@ -202,9 +202,11 @@ GNUNET_GTK_select_pseudonym_dialog_response_cb (GtkDialog *dialog, | |||
202 | /* This is a bogus fileinfo. It's needed because edit_publish_dialog | 202 | /* This is a bogus fileinfo. It's needed because edit_publish_dialog |
203 | * was written to work with fileinfo, and return a fileinfo. | 203 | * was written to work with fileinfo, and return a fileinfo. |
204 | */ | 204 | */ |
205 | memset (&bo, 0, sizeof (bo)); | ||
206 | bo.expiration_time = GNUNET_FS_year_to_time (GNUNET_FS_get_current_year () + 2); | ||
207 | bo.anonymity_level = 1; | ||
205 | nds->fip = GNUNET_FS_file_information_create_empty_directory (NULL, NULL, | 208 | nds->fip = GNUNET_FS_file_information_create_empty_directory (NULL, NULL, |
206 | NULL, meta, &bo); | 209 | NULL, meta, &bo); |
207 | memset (&bo, 0, sizeof (bo)); | ||
208 | GNUNET_CONTAINER_meta_data_destroy (meta); | 210 | GNUNET_CONTAINER_meta_data_destroy (meta); |
209 | GNUNET_FS_GTK_edit_publish_dialog (builder, transient, | 211 | GNUNET_FS_GTK_edit_publish_dialog (builder, transient, |
210 | nds->do_index, | 212 | nds->do_index, |