diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-10-24 13:42:56 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-10-24 13:42:56 +0000 |
commit | 717e99719a751f4a8e20fa164bf8467f57c6ff7c (patch) | |
tree | 0e3f6d2cffe1e1e8ecc0568e2707c03783b55440 /src/datacache | |
parent | a4d9602c5321270b76da9f291c976988ce371ecb (diff) | |
download | gnunet-717e99719a751f4a8e20fa164bf8467f57c6ff7c.tar.gz gnunet-717e99719a751f4a8e20fa164bf8467f57c6ff7c.zip |
logfix
Diffstat (limited to 'src/datacache')
-rw-r--r-- | src/datacache/plugin_datacache_sqlite.c | 12 |
1 files changed, 5 insertions, 7 deletions
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, | |||
272 | exp = GNUNET_TIME_UNIT_FOREVER_ABS; | 272 | exp = GNUNET_TIME_UNIT_FOREVER_ABS; |
273 | cnt++; | 273 | cnt++; |
274 | #if DEBUG_DATACACHE_SQLITE | 274 | #if DEBUG_DATACACHE_SQLITE |
275 | if (0 == total) | 275 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
276 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 276 | "Found %u-byte result when processing `%s' for key `%4s'\n", |
277 | "Found %u-byte result when processing `%s' for key `%4s'\n", | 277 | (unsigned int) size, |
278 | (unsigned int) size, | 278 | "GET", |
279 | "GET", | 279 | GNUNET_h2s (key)); |
280 | GNUNET_h2s (key)); | ||
281 | #endif | 280 | #endif |
282 | |||
283 | if (GNUNET_OK != iter (iter_cls, exp, key, size, dat, type)) | 281 | if (GNUNET_OK != iter (iter_cls, exp, key, size, dat, type)) |
284 | { | 282 | { |
285 | sqlite3_finalize (stmt); | 283 | sqlite3_finalize (stmt); |