aboutsummaryrefslogtreecommitdiff
path: root/src/datastore/datastore_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/datastore/datastore_api.c')
-rw-r--r--src/datastore/datastore_api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/datastore/datastore_api.c b/src/datastore/datastore_api.c
index aaad7118f..21675b0b7 100644
--- a/src/datastore/datastore_api.c
+++ b/src/datastore/datastore_api.c
@@ -682,11 +682,11 @@ process_status_message (void *cls,
682 if (msg == NULL) 682 if (msg == NULL)
683 { 683 {
684 free_queue_entry (qe); 684 free_queue_entry (qe);
685 if (NULL == h->client)
686 return; /* forced disconnect */
685 rc.cont (rc.cont_cls, 687 rc.cont (rc.cont_cls,
686 GNUNET_SYSERR, 688 GNUNET_SYSERR,
687 _("Failed to receive response from database.")); 689 _("Failed to receive response from database."));
688 if (NULL == h->client)
689 return; /* forced disconnect */
690 if (was_transmitted == GNUNET_YES) 690 if (was_transmitted == GNUNET_YES)
691 do_disconnect (h); 691 do_disconnect (h);
692 return; 692 return;