logfix
authorChristian Grothoff <christian@grothoff.org>
Mon, 24 Oct 2011 13:42:56 +0000 (13:42 +0000)
committerChristian Grothoff <christian@grothoff.org>
Mon, 24 Oct 2011 13:42:56 +0000 (13:42 +0000)
src/datacache/plugin_datacache_sqlite.c

index e33758f9b364a53c1d71282858f85271229b4f7b..44799be637e965afeaa056e34a7226cca1a17c78 100644 (file)
@@ -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);