gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r15681 - gnunet/src/datastore


From: gnunet
Subject: [GNUnet-SVN] r15681 - gnunet/src/datastore
Date: Fri, 17 Jun 2011 09:39:57 +0200

Author: grothoff
Date: 2011-06-17 09:39:57 +0200 (Fri, 17 Jun 2011)
New Revision: 15681

Modified:
   gnunet/src/datastore/datastore_api.c
Log:
fix 1708

Modified: gnunet/src/datastore/datastore_api.c
===================================================================
--- gnunet/src/datastore/datastore_api.c        2011-06-17 07:39:11 UTC (rev 
15680)
+++ gnunet/src/datastore/datastore_api.c        2011-06-17 07:39:57 UTC (rev 
15681)
@@ -1249,14 +1249,16 @@
   struct GNUNET_DATASTORE_QueueEntry *qe;
   struct ResultContext rc;
   const struct DataMessage *dm;
+  int was_transmitted;
 
   if (msg == NULL)
     {
       qe = h->queue_head;
       GNUNET_assert (NULL != qe);
       rc = qe->qc.rc;
+      was_transmitted = qe->was_transmitted;
       free_queue_entry (qe);
-      if (qe->was_transmitted == GNUNET_YES)
+      if (was_transmitted == GNUNET_YES)
        {
          GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
                      _("Failed to receive response from database.\n"));




reply via email to

[Prev in Thread] Current Thread [Next in Thread]