diff options
Diffstat (limited to 'src/datastore')
-rw-r--r-- | src/datastore/datastore.h | 2 | ||||
-rw-r--r-- | src/datastore/datastore_api.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/datastore/datastore.h b/src/datastore/datastore.h index aa2646c0a..f827f8766 100644 --- a/src/datastore/datastore.h +++ b/src/datastore/datastore.h | |||
@@ -27,7 +27,7 @@ | |||
27 | #ifndef DATASTORE_H | 27 | #ifndef DATASTORE_H |
28 | #define DATASTORE_H | 28 | #define DATASTORE_H |
29 | 29 | ||
30 | #define DEBUG_DATASTORE GNUNET_NO | 30 | #define DEBUG_DATASTORE GNUNET_YES |
31 | 31 | ||
32 | #include "gnunet_util_lib.h" | 32 | #include "gnunet_util_lib.h" |
33 | 33 | ||
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; |