From ec79bfa820a581e90822a1ab607f051639c94b8e Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 17 Jun 2011 07:39:57 +0000 Subject: [PATCH] fix 1708 --- src/datastore/datastore_api.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/datastore/datastore_api.c b/src/datastore/datastore_api.c index c347fd71d..15139b17d 100644 --- a/src/datastore/datastore_api.c +++ b/src/datastore/datastore_api.c @@ -1249,14 +1249,16 @@ process_result_message (void *cls, 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")); -- 2.25.1