diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-01-16 11:24:30 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-01-16 11:24:30 +0100 |
commit | d473582634ea55c2a412da1360b05a2898ed568d (patch) | |
tree | 39ca0098ac657e5dbc0960469ae05195e2506f60 /src/exit/gnunet-daemon-exit.c | |
parent | 301693904d07a063711bfc1ff4c5505c61eaf821 (diff) | |
download | gnunet-d473582634ea55c2a412da1360b05a2898ed568d.tar.gz gnunet-d473582634ea55c2a412da1360b05a2898ed568d.zip |
simplify GNUNET_CONTAINER_heap_update_cost API
Diffstat (limited to 'src/exit/gnunet-daemon-exit.c')
-rw-r--r-- | src/exit/gnunet-daemon-exit.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/exit/gnunet-daemon-exit.c b/src/exit/gnunet-daemon-exit.c index 790780aa6..92acc61cd 100644 --- a/src/exit/gnunet-daemon-exit.c +++ b/src/exit/gnunet-daemon-exit.c | |||
@@ -747,9 +747,8 @@ get_redirect_state (int af, | |||
747 | return NULL; | 747 | return NULL; |
748 | /* Mark this connection as freshly used */ | 748 | /* Mark this connection as freshly used */ |
749 | if (NULL == state_key) | 749 | if (NULL == state_key) |
750 | GNUNET_CONTAINER_heap_update_cost (connections_heap, | 750 | GNUNET_CONTAINER_heap_update_cost (state->specifics.tcp_udp.heap_node, |
751 | state->specifics.tcp_udp.heap_node, | 751 | GNUNET_TIME_absolute_get ().abs_value_us); |
752 | GNUNET_TIME_absolute_get ().abs_value_us); | ||
753 | return state; | 752 | return state; |
754 | } | 753 | } |
755 | 754 | ||