[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r15664 - gnunet/src/datastore
From: |
gnunet |
Subject: |
[GNUnet-SVN] r15664 - gnunet/src/datastore |
Date: |
Thu, 16 Jun 2011 14:58:44 +0200 |
Author: grothoff
Date: 2011-06-16 14:58:43 +0200 (Thu, 16 Jun 2011)
New Revision: 15664
Modified:
gnunet/src/datastore/datastore_api.c
Log:
dnc
Modified: gnunet/src/datastore/datastore_api.c
===================================================================
--- gnunet/src/datastore/datastore_api.c 2011-06-16 12:35:26 UTC (rev
15663)
+++ gnunet/src/datastore/datastore_api.c 2011-06-16 12:58:43 UTC (rev
15664)
@@ -1295,7 +1295,18 @@
}
qe = h->queue_head;
rc = qe->qc.rc;
- GNUNET_assert (GNUNET_YES == qe->was_transmitted);
+ if (GNUNET_YES != qe->was_transmitted)
+ {
+ GNUNET_break (0);
+ free_queue_entry (qe);
+ h->retry_time = GNUNET_TIME_UNIT_ZERO;
+ do_disconnect (h);
+ if (rc.proc != NULL)
+ rc.proc (rc.proc_cls,
+ NULL, 0, NULL, 0, 0, 0,
+ GNUNET_TIME_UNIT_ZERO_ABS, 0);
+ return;
+ }
if ( (ntohs(msg->size) < sizeof(struct DataMessage)) ||
(ntohs(msg->type) != GNUNET_MESSAGE_TYPE_DATASTORE_DATA) ||
(ntohs(msg->size) != sizeof(struct DataMessage) + ntohl (((const struct
DataMessage*)msg)->size)) )
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r15664 - gnunet/src/datastore,
gnunet <=