From fc3809cc87d923552bc1c8ba20008f08174ad84d Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 27 Apr 2011 19:08:54 +0000 Subject: [PATCH] fix --- src/datastore/datastore_api.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/datastore/datastore_api.c b/src/datastore/datastore_api.c index 7818ed05c..660e8f102 100644 --- a/src/datastore/datastore_api.c +++ b/src/datastore/datastore_api.c @@ -1215,12 +1215,12 @@ process_result_message (void *cls, GNUNET_log (GNUNET_ERROR_TYPE_WARNING, _("Failed to receive response from database.\n")); do_disconnect (h); + free_queue_entry (qe); + if (rc.proc != NULL) + rc.proc (rc.proc_cls, + NULL, 0, NULL, 0, 0, 0, + GNUNET_TIME_UNIT_ZERO_ABS, 0); } - free_queue_entry (qe); - 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->type) == GNUNET_MESSAGE_TYPE_DATASTORE_DATA_END) -- 2.25.1