From: Matthias Wachs Date: Fri, 13 Dec 2013 13:59:37 +0000 (+0000) Subject: fix assertion in line 1388 X-Git-Tag: initial-import-from-subversion-38251~5492 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d33f942f434d4c35301a141b7f9004a8fb4dbd5b;p=oweals%2Fgnunet.git fix assertion in line 1388 --- diff --git a/src/transport/plugin_transport_udp.c b/src/transport/plugin_transport_udp.c index c85cbd885..cc02b1671 100644 --- a/src/transport/plugin_transport_udp.c +++ b/src/transport/plugin_transport_udp.c @@ -1979,6 +1979,7 @@ process_inbound_tokenized_messages (void *cls, void *client, return GNUNET_OK; /* setup ATS */ GNUNET_break (ntohl(si->session->ats.value) != GNUNET_ATS_NET_UNSPECIFIED); + reschedule_session_timeout (si->session); delay = plugin->env->receive (plugin->env->cls, &si->sender, hdr, @@ -1994,7 +1995,6 @@ process_inbound_tokenized_messages (void *cls, void *client, si->session, &si->session->ats, 1); si->session->flow_delay_for_other_peer = delay; - reschedule_session_timeout (si->session); return GNUNET_OK; }