diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-05-18 08:39:41 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-05-18 08:39:41 +0000 |
commit | e44e337039d4e4cc125c136e4845f0a46f6f57c6 (patch) | |
tree | 0f6217d1d5af7faf4450174856c8a6ba9e4ec262 /src | |
parent | 51ad15483875d801ac9bb16db49162c193490f7d (diff) | |
download | gnunet-e44e337039d4e4cc125c136e4845f0a46f6f57c6.tar.gz gnunet-e44e337039d4e4cc125c136e4845f0a46f6f57c6.zip |
stuff
Diffstat (limited to 'src')
-rw-r--r-- | src/datastore/gnunet-service-datastore.c | 8 |
1 files 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; | |||
241 | static struct TransmitCallbackContext *tcc_tail; | 241 | static struct TransmitCallbackContext *tcc_tail; |
242 | 242 | ||
243 | /** | 243 | /** |
244 | * Have we already clean ed up the TCCs and are hence no longer | 244 | * Have we already cleaned up the TCCs and are hence no longer |
245 | * willing (or able) to transmit anything to anyone? | 245 | * willing (or able) to transmit anything to anyone? |
246 | */ | 246 | */ |
247 | static int cleaning_done; | 247 | static int cleaning_done; |
@@ -523,7 +523,11 @@ transmit (struct GNUNET_SERVER_Client *client, | |||
523 | 523 | ||
524 | if (GNUNET_YES == cleaning_done) | 524 | if (GNUNET_YES == cleaning_done) |
525 | { | 525 | { |
526 | if (NULL != tc) | 526 | #if DEBUG_DATASTORE |
527 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | ||
528 | "Shutdown in progress, aborting transmission.\n"); | ||
529 | #endif | ||
530 | if (NULL != tc) | ||
527 | tc (tc_cls, GNUNET_SYSERR); | 531 | tc (tc_cls, GNUNET_SYSERR); |
528 | return; | 532 | return; |
529 | } | 533 | } |