[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r15355 - gnunet/src/datastore
From: |
gnunet |
Subject: |
[GNUnet-SVN] r15355 - gnunet/src/datastore |
Date: |
Mon, 30 May 2011 17:48:47 +0200 |
Author: grothoff
Date: 2011-05-30 17:48:47 +0200 (Mon, 30 May 2011)
New Revision: 15355
Modified:
gnunet/src/datastore/datastore_api.c
Log:
do not remove from queue if already transmitted
Modified: gnunet/src/datastore/datastore_api.c
===================================================================
--- gnunet/src/datastore/datastore_api.c 2011-05-30 15:42:49 UTC (rev
15354)
+++ gnunet/src/datastore/datastore_api.c 2011-05-30 15:48:47 UTC (rev
15355)
@@ -465,7 +465,8 @@
pos = ret->next;
while (pos != NULL)
{
- if (pos->max_queue < h->queue_size)
+ if ( (pos->max_queue < h->queue_size) &&
+ (pos->was_transmitted == GNUNET_NO) )
{
GNUNET_assert (pos->response_proc != NULL);
/* move 'pos' element to head so that it will be
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r15355 - gnunet/src/datastore,
gnunet <=