- moved timeout handling responsibility from for nat tests from caller to the library
[oweals/gnunet.git] / src / datacache / test_datacache.c
index 071ae721fb91e5a432446fe3047af60e38c7e780..d0b7e545719a4660ca6dafe2f52883093ce831b2 100644 (file)
@@ -38,8 +38,8 @@ static const char *plugin_name;
 
 
 static int
-checkIt (void *cls, 
-         const struct GNUNET_HashCode *key, 
+checkIt (void *cls,
+         const struct GNUNET_HashCode *key,
         size_t size, const char *data,
          enum GNUNET_BLOCK_Type type,
         struct GNUNET_TIME_Absolute exp,
@@ -75,7 +75,7 @@ run (void *cls, char *const *args, const char *cfgfile,
   if (h == NULL)
   {
     FPRINTF (stderr,
-             "%s", 
+             "%s",
             "Failed to initialize datacache.  Database likely not setup, skipping test.\n");
     return;
   }
@@ -87,7 +87,7 @@ run (void *cls, char *const *args, const char *cfgfile,
     GNUNET_CRYPTO_hash (&k, sizeof (struct GNUNET_HashCode), &n);
     ASSERT (GNUNET_OK ==
             GNUNET_DATACACHE_put (h, &k, sizeof (struct GNUNET_HashCode),
-                                  (const char *) &n, 1 + i % 16, exp, 
+                                  (const char *) &n, 1 + i % 16, exp,
                                  0, NULL));
     k = n;
   }