From: Christian Grothoff Date: Tue, 19 Jan 2010 11:03:57 +0000 (+0000) Subject: fix X-Git-Tag: initial-import-from-subversion-38251~22931 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=691f0bfb0a1cbd2a862c4707c40b35aba13c92f1;p=oweals%2Fgnunet.git fix --- diff --git a/src/util/test_container_heap.c b/src/util/test_container_heap.c index b24624ad8..78bae229f 100644 --- a/src/util/test_container_heap.c +++ b/src/util/test_container_heap.c @@ -67,7 +67,7 @@ check () GNUNET_CONTAINER_heap_iterate (myHeap, &iterator_callback, NULL); n4 = GNUNET_CONTAINER_heap_insert (myHeap, "50", 50); - GNUNET_CONTAINER_heap_update_cost (myHeap, n4, 0); + GNUNET_CONTAINER_heap_update_cost (myHeap, n4, 50); GNUNET_assert (3 == GNUNET_CONTAINER_heap_get_size (myHeap)); GNUNET_CONTAINER_heap_iterate (myHeap, &iterator_callback, NULL);