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 071ae721f..d0b7e5457 100644 --- a/src/datacache/test_datacache.c +++ b/src/datacache/test_datacache.c | |||
@@ -38,8 +38,8 @@ static const char *plugin_name; | |||
38 | 38 | ||
39 | 39 | ||
40 | static int | 40 | static int |
41 | checkIt (void *cls, | 41 | checkIt (void *cls, |
42 | const struct GNUNET_HashCode *key, | 42 | const struct GNUNET_HashCode *key, |
43 | size_t size, const char *data, | 43 | size_t size, const char *data, |
44 | enum GNUNET_BLOCK_Type type, | 44 | enum GNUNET_BLOCK_Type type, |
45 | struct GNUNET_TIME_Absolute exp, | 45 | struct GNUNET_TIME_Absolute exp, |
@@ -75,7 +75,7 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
75 | if (h == NULL) | 75 | if (h == NULL) |
76 | { | 76 | { |
77 | FPRINTF (stderr, | 77 | FPRINTF (stderr, |
78 | "%s", | 78 | "%s", |
79 | "Failed to initialize datacache. Database likely not setup, skipping test.\n"); | 79 | "Failed to initialize datacache. Database likely not setup, skipping test.\n"); |
80 | return; | 80 | return; |
81 | } | 81 | } |
@@ -87,7 +87,7 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
87 | GNUNET_CRYPTO_hash (&k, sizeof (struct GNUNET_HashCode), &n); | 87 | GNUNET_CRYPTO_hash (&k, sizeof (struct GNUNET_HashCode), &n); |
88 | ASSERT (GNUNET_OK == | 88 | ASSERT (GNUNET_OK == |
89 | GNUNET_DATACACHE_put (h, &k, sizeof (struct GNUNET_HashCode), | 89 | GNUNET_DATACACHE_put (h, &k, sizeof (struct GNUNET_HashCode), |
90 | (const char *) &n, 1 + i % 16, exp, | 90 | (const char *) &n, 1 + i % 16, exp, |
91 | 0, NULL)); | 91 | 0, NULL)); |
92 | k = n; | 92 | k = n; |
93 | } | 93 | } |