From: Christian Grothoff Date: Mon, 24 Oct 2011 13:42:56 +0000 (+0000) Subject: logfix X-Git-Tag: initial-import-from-subversion-38251~16288 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=717e99719a751f4a8e20fa164bf8467f57c6ff7c;p=oweals%2Fgnunet.git logfix --- diff --git a/src/datacache/plugin_datacache_sqlite.c b/src/datacache/plugin_datacache_sqlite.c index e33758f9b..44799be63 100644 --- a/src/datacache/plugin_datacache_sqlite.c +++ b/src/datacache/plugin_datacache_sqlite.c @@ -272,14 +272,12 @@ sqlite_plugin_get (void *cls, const GNUNET_HashCode * key, exp = GNUNET_TIME_UNIT_FOREVER_ABS; cnt++; #if DEBUG_DATACACHE_SQLITE - if (0 == total) - LOG (GNUNET_ERROR_TYPE_DEBUG, - "Found %u-byte result when processing `%s' for key `%4s'\n", - (unsigned int) size, - "GET", - GNUNET_h2s (key)); + LOG (GNUNET_ERROR_TYPE_DEBUG, + "Found %u-byte result when processing `%s' for key `%4s'\n", + (unsigned int) size, + "GET", + GNUNET_h2s (key)); #endif - if (GNUNET_OK != iter (iter_cls, exp, key, size, dat, type)) { sqlite3_finalize (stmt);