diff options
Diffstat (limited to 'src/transport/plugin_transport_udp.c')
-rw-r--r-- | src/transport/plugin_transport_udp.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/transport/plugin_transport_udp.c b/src/transport/plugin_transport_udp.c index f9310fb8f..07a3df362 100644 --- a/src/transport/plugin_transport_udp.c +++ b/src/transport/plugin_transport_udp.c | |||
@@ -852,8 +852,8 @@ udp_read (struct Plugin *plugin, struct GNUNET_NETWORK_Handle *rsock) | |||
852 | return; | 852 | return; |
853 | GNUNET_assert (GNUNET_OK == | 853 | GNUNET_assert (GNUNET_OK == |
854 | GNUNET_CONTAINER_multihashmap_remove (plugin->sessions, | 854 | GNUNET_CONTAINER_multihashmap_remove (plugin->sessions, |
855 | &udp->sender. | 855 | &udp-> |
856 | hashPubKey, | 856 | sender.hashPubKey, |
857 | peer_session)); | 857 | peer_session)); |
858 | plugin->last_expected_delay = | 858 | plugin->last_expected_delay = |
859 | GNUNET_FRAGMENT_context_destroy (peer_session->frag); | 859 | GNUNET_FRAGMENT_context_destroy (peer_session->frag); |
@@ -882,8 +882,8 @@ udp_read (struct Plugin *plugin, struct GNUNET_NETWORK_Handle *rsock) | |||
882 | &fragment_msg_proc, &ack_proc); | 882 | &fragment_msg_proc, &ack_proc); |
883 | rc->hnode = | 883 | rc->hnode = |
884 | GNUNET_CONTAINER_heap_insert (plugin->defrags, rc, | 884 | GNUNET_CONTAINER_heap_insert (plugin->defrags, rc, |
885 | (GNUNET_CONTAINER_HeapCostType) now. | 885 | (GNUNET_CONTAINER_HeapCostType) |
886 | abs_value); | 886 | now.abs_value); |
887 | } | 887 | } |
888 | #if DEBUG_UDP | 888 | #if DEBUG_UDP |
889 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 889 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
@@ -896,8 +896,8 @@ udp_read (struct Plugin *plugin, struct GNUNET_NETWORK_Handle *rsock) | |||
896 | { | 896 | { |
897 | /* keep this 'rc' from expiring */ | 897 | /* keep this 'rc' from expiring */ |
898 | GNUNET_CONTAINER_heap_update_cost (plugin->defrags, rc->hnode, | 898 | GNUNET_CONTAINER_heap_update_cost (plugin->defrags, rc->hnode, |
899 | (GNUNET_CONTAINER_HeapCostType) now. | 899 | (GNUNET_CONTAINER_HeapCostType) |
900 | abs_value); | 900 | now.abs_value); |
901 | } | 901 | } |
902 | if (GNUNET_CONTAINER_heap_get_size (plugin->defrags) > | 902 | if (GNUNET_CONTAINER_heap_get_size (plugin->defrags) > |
903 | UDP_MAX_SENDER_ADDRESSES_WITH_DEFRAG) | 903 | UDP_MAX_SENDER_ADDRESSES_WITH_DEFRAG) |