diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-01-19 11:03:57 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-01-19 11:03:57 +0000 |
commit | 691f0bfb0a1cbd2a862c4707c40b35aba13c92f1 (patch) | |
tree | 7787e65e023a6ae3064e207df78d82c3f8f80b0f /src/util/test_container_heap.c | |
parent | 4affb8454c8c141e5f968db30a76365b12594b8f (diff) | |
download | gnunet-691f0bfb0a1cbd2a862c4707c40b35aba13c92f1.tar.gz gnunet-691f0bfb0a1cbd2a862c4707c40b35aba13c92f1.zip |
fix
Diffstat (limited to 'src/util/test_container_heap.c')
-rw-r--r-- | src/util/test_container_heap.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 () | |||
67 | GNUNET_CONTAINER_heap_iterate (myHeap, &iterator_callback, NULL); | 67 | GNUNET_CONTAINER_heap_iterate (myHeap, &iterator_callback, NULL); |
68 | 68 | ||
69 | n4 = GNUNET_CONTAINER_heap_insert (myHeap, "50", 50); | 69 | n4 = GNUNET_CONTAINER_heap_insert (myHeap, "50", 50); |
70 | GNUNET_CONTAINER_heap_update_cost (myHeap, n4, 0); | 70 | GNUNET_CONTAINER_heap_update_cost (myHeap, n4, 50); |
71 | GNUNET_assert (3 == GNUNET_CONTAINER_heap_get_size (myHeap)); | 71 | GNUNET_assert (3 == GNUNET_CONTAINER_heap_get_size (myHeap)); |
72 | GNUNET_CONTAINER_heap_iterate (myHeap, &iterator_callback, NULL); | 72 | GNUNET_CONTAINER_heap_iterate (myHeap, &iterator_callback, NULL); |
73 | 73 | ||