-do check
authorChristian Grothoff <christian@grothoff.org>
Fri, 30 Oct 2015 12:43:05 +0000 (12:43 +0000)
committerChristian Grothoff <christian@grothoff.org>
Fri, 30 Oct 2015 12:43:05 +0000 (12:43 +0000)
src/core/core_api.c

index 31248a63fbd4eed1e156ce3ba41a054da1ac9e85..762c81ffa7accdc11f4a70f0b4a82563dcbba50c 100644 (file)
@@ -773,7 +773,7 @@ main_notify_handler (void *cls,
     GNUNET_assert (GNUNET_YES ==
                    GNUNET_CONTAINER_multipeermap_put (h->peers,
                                                       &h->me, pr,
-                                                      GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_FAST));
+                                                      GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_ONLY));
     if (NULL != h->connects)
       h->connects (h->cls, &pr->peer);
     break;
@@ -816,7 +816,7 @@ main_notify_handler (void *cls,
     GNUNET_assert (GNUNET_YES ==
                    GNUNET_CONTAINER_multipeermap_put (h->peers,
                                                       &cnm->peer, pr,
-                                                      GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_FAST));
+                                                      GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_ONLY));
     if (NULL != h->connects)
       h->connects (h->cls, &pr->peer);
     break;