summaryrefslogtreecommitdiff
path: root/src/transport
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2013-05-23 14:11:48 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2013-05-23 14:11:48 +0000
commit6e57f173d214f2cadd72a847fbdbea1ea46dbe59 (patch)
tree39d20309edc9495c0d4745e3c784aa97b827cfd8 /src/transport
parent2c0bf156d17ea97298943fd28b3f5d4eb99de355 (diff)
fix
Diffstat (limited to 'src/transport')
-rw-r--r--src/transport/gnunet-service-transport_manipulation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transport/gnunet-service-transport_manipulation.c b/src/transport/gnunet-service-transport_manipulation.c
index eb520ec20..529cc26e1 100644
--- a/src/transport/gnunet-service-transport_manipulation.c
+++ b/src/transport/gnunet-service-transport_manipulation.c
@@ -671,13 +671,13 @@ GST_manipulation_peer_disconnect (const struct GNUNET_PeerIdentity *peer)
next = generic_dqe_head;
while (NULL != (dqe = next))
{
+ next = dqe->next;
if (0 == memcmp (&peer, &dqe->id, sizeof (dqe->id)))
{
GNUNET_CONTAINER_DLL_remove (generic_dqe_head, generic_dqe_tail, dqe);
if (NULL != dqe->cont)
dqe->cont (dqe->cont_cls, GNUNET_SYSERR, dqe->msg_size, 0);
GNUNET_free (dqe);
-
}
}
if (GNUNET_SCHEDULER_NO_TASK != generic_send_delay_task)