aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-10-07 18:31:52 +0000
committerChristian Grothoff <christian@grothoff.org>2012-10-07 18:31:52 +0000
commit9b45f8869f2ce58cce13a7d17d3e1150fe3799de (patch)
treee4b48c053397b94618e7d716245d82b9c7ea9a6e
parent931e4c040f3ecd6c746af37fadbae354bf68bddb (diff)
downloadgnunet-gtk-9b45f8869f2ce58cce13a7d17d3e1150fe3799de.tar.gz
gnunet-gtk-9b45f8869f2ce58cce13a7d17d3e1150fe3799de.zip
-chaning multihashmap API to allow option for avoiding key allocation
-rw-r--r--src/fs/gnunet-fs-gtk_publish-dialog.c2
-rw-r--r--src/peerinfo/gnunet-peerinfo-gtk.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/fs/gnunet-fs-gtk_publish-dialog.c b/src/fs/gnunet-fs-gtk_publish-dialog.c
index b051051d..49d01f8d 100644
--- a/src/fs/gnunet-fs-gtk_publish-dialog.c
+++ b/src/fs/gnunet-fs-gtk_publish-dialog.c
@@ -2217,7 +2217,7 @@ add_namespace_to_ts (void *cls, const char *name, const struct GNUNET_HashCode *
2217 PSEUDONYM_MC_NEXT_ID_EDITABLE, TRUE, 2217 PSEUDONYM_MC_NEXT_ID_EDITABLE, TRUE,
2218 PSEUDONYM_MC_CURRENT_ID_EDITABLE, TRUE, 2218 PSEUDONYM_MC_CURRENT_ID_EDITABLE, TRUE,
2219 -1); 2219 -1);
2220 uc.seen = GNUNET_CONTAINER_multihashmap_create (128); 2220 uc.seen = GNUNET_CONTAINER_multihashmap_create (128, GNUNET_NO);
2221 GNUNET_FS_namespace_list_updateable (uc.ns, NULL, &add_updateable_to_ts, &uc); 2221 GNUNET_FS_namespace_list_updateable (uc.ns, NULL, &add_updateable_to_ts, &uc);
2222 GNUNET_CONTAINER_multihashmap_destroy (uc.seen); 2222 GNUNET_CONTAINER_multihashmap_destroy (uc.seen);
2223} 2223}
diff --git a/src/peerinfo/gnunet-peerinfo-gtk.c b/src/peerinfo/gnunet-peerinfo-gtk.c
index 0cafb402..c6c355a9 100644
--- a/src/peerinfo/gnunet-peerinfo-gtk.c
+++ b/src/peerinfo/gnunet-peerinfo-gtk.c
@@ -484,7 +484,7 @@ run (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
484 led_red = load_led ("red"); 484 led_red = load_led ("red");
485 GNUNET_GTK_set_icon_search_path (); 485 GNUNET_GTK_set_icon_search_path ();
486 GNUNET_GTK_setup_nls (); 486 GNUNET_GTK_setup_nls ();
487 peer2info = GNUNET_CONTAINER_multihashmap_create (256); 487 peer2info = GNUNET_CONTAINER_multihashmap_create (256, GNUNET_NO);
488 pnc = 488 pnc =
489 GNUNET_PEERINFO_notify (get_configuration (), &peerinfo_processor, NULL); 489 GNUNET_PEERINFO_notify (get_configuration (), &peerinfo_processor, NULL);
490 if (pnc == NULL) 490 if (pnc == NULL)