diff options
-rw-r--r-- | src/namecache/plugin_namecache_flat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/namecache/plugin_namecache_flat.c b/src/namecache/plugin_namecache_flat.c index 01ab414b0c..a4b03ea55a 100644 --- a/src/namecache/plugin_namecache_flat.c +++ b/src/namecache/plugin_namecache_flat.c @@ -159,8 +159,8 @@ database_setup (struct Plugin *plugin) break; line = strtok (NULL, "\n"); entry = GNUNET_malloc (sizeof (struct FlatFileEntry)); - GNUNET_CRYPTO_hash_from_string (query, - &entry->query); + GNUNET_assert (GNUNET_OK == GNUNET_CRYPTO_hash_from_string (query, + &entry->query)); GNUNET_STRINGS_base64_decode (block, strlen (block), &block_buffer); |