From e44e337039d4e4cc125c136e4845f0a46f6f57c6 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 18 May 2010 08:39:41 +0000 Subject: [PATCH] stuff --- src/datastore/gnunet-service-datastore.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/datastore/gnunet-service-datastore.c b/src/datastore/gnunet-service-datastore.c index fc0587cf7..6c6155831 100644 --- a/src/datastore/gnunet-service-datastore.c +++ b/src/datastore/gnunet-service-datastore.c @@ -241,7 +241,7 @@ static struct TransmitCallbackContext *tcc_head; static struct TransmitCallbackContext *tcc_tail; /** - * Have we already clean ed up the TCCs and are hence no longer + * Have we already cleaned up the TCCs and are hence no longer * willing (or able) to transmit anything to anyone? */ static int cleaning_done; @@ -523,7 +523,11 @@ transmit (struct GNUNET_SERVER_Client *client, if (GNUNET_YES == cleaning_done) { - if (NULL != tc) +#if DEBUG_DATASTORE + GNUNET_log (GNUNET_ERROR_TYPE_WARNING, + "Shutdown in progress, aborting transmission.\n"); +#endif + if (NULL != tc) tc (tc_cls, GNUNET_SYSERR); return; } -- 2.25.1