diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-04-27 19:08:54 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-04-27 19:08:54 +0000 |
commit | fc3809cc87d923552bc1c8ba20008f08174ad84d (patch) | |
tree | 03b5c84738a482cf5ab2cb36eea6dc338cea6acb /src | |
parent | 6012a61174077a94d30dbdcf4f1753c86dd110a4 (diff) | |
download | gnunet-fc3809cc87d923552bc1c8ba20008f08174ad84d.tar.gz gnunet-fc3809cc87d923552bc1c8ba20008f08174ad84d.zip |
fix
Diffstat (limited to 'src')
-rw-r--r-- | src/datastore/datastore_api.c | 10 |
1 files 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, | |||
1215 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | 1215 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, |
1216 | _("Failed to receive response from database.\n")); | 1216 | _("Failed to receive response from database.\n")); |
1217 | do_disconnect (h); | 1217 | do_disconnect (h); |
1218 | free_queue_entry (qe); | ||
1219 | if (rc.proc != NULL) | ||
1220 | rc.proc (rc.proc_cls, | ||
1221 | NULL, 0, NULL, 0, 0, 0, | ||
1222 | GNUNET_TIME_UNIT_ZERO_ABS, 0); | ||
1218 | } | 1223 | } |
1219 | free_queue_entry (qe); | ||
1220 | if (rc.proc != NULL) | ||
1221 | rc.proc (rc.proc_cls, | ||
1222 | NULL, 0, NULL, 0, 0, 0, | ||
1223 | GNUNET_TIME_UNIT_ZERO_ABS, 0); | ||
1224 | return; | 1224 | return; |
1225 | } | 1225 | } |
1226 | if (ntohs(msg->type) == GNUNET_MESSAGE_TYPE_DATASTORE_DATA_END) | 1226 | if (ntohs(msg->type) == GNUNET_MESSAGE_TYPE_DATASTORE_DATA_END) |