[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r19962 - gnunet/src/transport
From: |
gnunet |
Subject: |
[GNUnet-SVN] r19962 - gnunet/src/transport |
Date: |
Thu, 23 Feb 2012 11:28:25 +0100 |
Author: wachs
Date: 2012-02-23 11:28:25 +0100 (Thu, 23 Feb 2012)
New Revision: 19962
Modified:
gnunet/src/transport/plugin_transport_udp.c
Log:
fix for mantis bug 0002154:
change order of calls:
- discard unsend messages
- call transmit send continuation
- call session_end
Modified: gnunet/src/transport/plugin_transport_udp.c
===================================================================
--- gnunet/src/transport/plugin_transport_udp.c 2012-02-23 10:18:47 UTC (rev
19961)
+++ gnunet/src/transport/plugin_transport_udp.c 2012-02-23 10:28:25 UTC (rev
19962)
@@ -541,7 +541,6 @@
GNUNET_i2s (&s->target),
GNUNET_a2s (s->sock_addr, s->addrlen));
#endif
- plugin->env->session_end (plugin->env->cls, &s->target, s);
if (s->frag_ctx != NULL)
{
@@ -580,6 +579,8 @@
udpw = next;
}
+ plugin->env->session_end (plugin->env->cls, &s->target, s);
+
GNUNET_assert (GNUNET_YES ==
GNUNET_CONTAINER_multihashmap_remove (plugin->sessions,
&s->target.hashPubKey,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r19962 - gnunet/src/transport,
gnunet <=