[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r18830 - gnunet-gtk/src/fs
From: |
gnunet |
Subject: |
[GNUnet-SVN] r18830 - gnunet-gtk/src/fs |
Date: |
Mon, 26 Dec 2011 20:32:02 +0100 |
Author: grothoff
Date: 2011-12-26 20:32:02 +0100 (Mon, 26 Dec 2011)
New Revision: 18830
Modified:
gnunet-gtk/src/fs/gnunet-fs-gtk-main_window_adv_pseudonym.c
Log:
-properly initialize bo before use, see #2038
Modified: gnunet-gtk/src/fs/gnunet-fs-gtk-main_window_adv_pseudonym.c
===================================================================
--- gnunet-gtk/src/fs/gnunet-fs-gtk-main_window_adv_pseudonym.c 2011-12-26
19:31:45 UTC (rev 18829)
+++ gnunet-gtk/src/fs/gnunet-fs-gtk-main_window_adv_pseudonym.c 2011-12-26
19:32:02 UTC (rev 18830)
@@ -202,9 +202,11 @@
/* This is a bogus fileinfo. It's needed because edit_publish_dialog
* was written to work with fileinfo, and return a fileinfo.
*/
+ memset (&bo, 0, sizeof (bo));
+ bo.expiration_time = GNUNET_FS_year_to_time (GNUNET_FS_get_current_year () +
2);
+ bo.anonymity_level = 1;
nds->fip = GNUNET_FS_file_information_create_empty_directory (NULL, NULL,
NULL, meta,
&bo);
- memset (&bo, 0, sizeof (bo));
GNUNET_CONTAINER_meta_data_destroy (meta);
GNUNET_FS_GTK_edit_publish_dialog (builder, transient,
nds->do_index,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r18830 - gnunet-gtk/src/fs,
gnunet <=