diff options
Diffstat (limited to 'src/datacache/test_datacache.c')
-rw-r--r-- | src/datacache/test_datacache.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/datacache/test_datacache.c b/src/datacache/test_datacache.c index 071ae721fb..d0b7e54571 100644 --- a/src/datacache/test_datacache.c +++ b/src/datacache/test_datacache.c @@ -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; } |