diff options
Diffstat (limited to 'src/fs/gnunet-fs-gtk_publish-dialog.c')
-rw-r--r-- | src/fs/gnunet-fs-gtk_publish-dialog.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fs/gnunet-fs-gtk_publish-dialog.c b/src/fs/gnunet-fs-gtk_publish-dialog.c index 9486d363..00f7edf1 100644 --- a/src/fs/gnunet-fs-gtk_publish-dialog.c +++ b/src/fs/gnunet-fs-gtk_publish-dialog.c | |||
@@ -1903,6 +1903,7 @@ add_updateable_to_ts (void *cls, const char *last_id, | |||
1903 | GtkTreeIter iter; | 1903 | GtkTreeIter iter; |
1904 | GtkTreeIter titer; | 1904 | GtkTreeIter titer; |
1905 | char *desc; | 1905 | char *desc; |
1906 | int desc_is_a_dup; | ||
1906 | GNUNET_HashCode hc; | 1907 | GNUNET_HashCode hc; |
1907 | 1908 | ||
1908 | uc->update_called = GNUNET_YES; | 1909 | uc->update_called = GNUNET_YES; |
@@ -1912,7 +1913,7 @@ add_updateable_to_ts (void *cls, const char *last_id, | |||
1912 | GNUNET_CONTAINER_multihashmap_put (uc->seen, &hc, "dummy", | 1913 | GNUNET_CONTAINER_multihashmap_put (uc->seen, &hc, "dummy", |
1913 | GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_FAST); | 1914 | GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_FAST); |
1914 | /* FIXME-BUG-MAYBE: what if this put fails? Not convinced it cannot... */ | 1915 | /* FIXME-BUG-MAYBE: what if this put fails? Not convinced it cannot... */ |
1915 | desc = GNUNET_FS_GTK_get_description_from_metadata (last_meta); | 1916 | desc = GNUNET_FS_GTK_get_description_from_metadata (last_meta, &desc_is_a_dup); |
1916 | gtk_tree_store_insert_with_values (uc->ts, &iter, uc->parent, G_MAXINT, 0, | 1917 | gtk_tree_store_insert_with_values (uc->ts, &iter, uc->parent, G_MAXINT, 0, |
1917 | uc->namespace_name, 1, | 1918 | uc->namespace_name, 1, |
1918 | GNUNET_FS_namespace_dup (uc->ns), 2, last_id, | 1919 | GNUNET_FS_namespace_dup (uc->ns), 2, last_id, |