diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-06-17 07:39:57 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-06-17 07:39:57 +0000 |
commit | ec79bfa820a581e90822a1ab607f051639c94b8e (patch) | |
tree | 0817ae9ef6af4772100f351003dc794646de0f91 /src/datastore | |
parent | 42ccd4cf8fa748b8a7c760066e7a9e271e30fbb7 (diff) | |
download | gnunet-ec79bfa820a581e90822a1ab607f051639c94b8e.tar.gz gnunet-ec79bfa820a581e90822a1ab607f051639c94b8e.zip |
fix 1708
Diffstat (limited to 'src/datastore')
-rw-r--r-- | src/datastore/datastore_api.c | 4 |
1 files changed, 3 insertions, 1 deletions
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, | |||
1249 | struct GNUNET_DATASTORE_QueueEntry *qe; | 1249 | struct GNUNET_DATASTORE_QueueEntry *qe; |
1250 | struct ResultContext rc; | 1250 | struct ResultContext rc; |
1251 | const struct DataMessage *dm; | 1251 | const struct DataMessage *dm; |
1252 | int was_transmitted; | ||
1252 | 1253 | ||
1253 | if (msg == NULL) | 1254 | if (msg == NULL) |
1254 | { | 1255 | { |
1255 | qe = h->queue_head; | 1256 | qe = h->queue_head; |
1256 | GNUNET_assert (NULL != qe); | 1257 | GNUNET_assert (NULL != qe); |
1257 | rc = qe->qc.rc; | 1258 | rc = qe->qc.rc; |
1259 | was_transmitted = qe->was_transmitted; | ||
1258 | free_queue_entry (qe); | 1260 | free_queue_entry (qe); |
1259 | if (qe->was_transmitted == GNUNET_YES) | 1261 | if (was_transmitted == GNUNET_YES) |
1260 | { | 1262 | { |
1261 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | 1263 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, |
1262 | _("Failed to receive response from database.\n")); | 1264 | _("Failed to receive response from database.\n")); |