From 3f393d60e2b44b2e28a915e5813d150653027f19 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 25 Oct 2009 20:07:08 +0000 Subject: [PATCH] more debug msgs --- src/datastore/datastore_api.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/datastore/datastore_api.c b/src/datastore/datastore_api.c index a64e3b049..064f36025 100644 --- a/src/datastore/datastore_api.c +++ b/src/datastore/datastore_api.c @@ -706,6 +706,12 @@ GNUNET_DATASTORE_remove (struct GNUNET_DATASTORE_Handle *h, struct DataMessage *dm; size_t msize; +#if DEBUG_DATASTORE + GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, + "Asked to remove %u bytes of data under key `%s'\n", + size, + GNUNET_h2s (key)); +#endif msize = sizeof(struct DataMessage) + size; GNUNET_assert (msize <= GNUNET_SERVER_MAX_MESSAGE_SIZE); dm = (struct DataMessage*) &h[1]; -- 2.25.1