[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r15974 - gnunet/src/transport
From: |
gnunet |
Subject: |
[GNUnet-SVN] r15974 - gnunet/src/transport |
Date: |
Fri, 15 Jul 2011 09:55:32 +0200 |
Author: grothoff
Date: 2011-07-15 09:55:32 +0200 (Fri, 15 Jul 2011)
New Revision: 15974
Modified:
gnunet/src/transport/gnunet-service-transport.c
Log:
fix
Modified: gnunet/src/transport/gnunet-service-transport.c
===================================================================
--- gnunet/src/transport/gnunet-service-transport.c 2011-07-14 20:45:21 UTC
(rev 15973)
+++ gnunet/src/transport/gnunet-service-transport.c 2011-07-15 07:55:32 UTC
(rev 15974)
@@ -6163,6 +6163,8 @@
struct ClientMessageQueueEntry *mqe;
struct Blacklisters *bl;
struct BlacklistCheck *bc;
+ struct NeighbourList *n;
+ struct MessageQueue *mq;
if (client == NULL)
return;
@@ -6221,6 +6223,14 @@
pos->message_count--;
GNUNET_free (mqe);
}
+ for (n = neighbours; n != NULL; n = n->next)
+ {
+ for (mq = n->messages_head; mq != NULL; mq = mq->next)
+ {
+ if (mq->client == pos)
+ mq->client = NULL; /* do not use anymore! */
+ }
+ }
if (prev == NULL)
clients = pos->next;
else
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r15974 - gnunet/src/transport,
gnunet <=