aboutsummaryrefslogtreecommitdiff
path: root/src/namestore
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-09-20 10:10:04 +0000
committerChristian Grothoff <christian@grothoff.org>2012-09-20 10:10:04 +0000
commit1aa42a97fb4310dd72a31aad114b6ebe26aebd8a (patch)
treeed076a8a4dd413efa4cbd67ec6482834b7ebc581 /src/namestore
parent37c4704049df39026b5fb043bcebcd7a15ecf1a2 (diff)
-core review
Diffstat (limited to 'src/namestore')
-rw-r--r--src/namestore/plugin_namestore_sqlite.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/namestore/plugin_namestore_sqlite.c b/src/namestore/plugin_namestore_sqlite.c
index 8b35fb84c6..ef1f9b8e34 100644
--- a/src/namestore/plugin_namestore_sqlite.c
+++ b/src/namestore/plugin_namestore_sqlite.c
@@ -405,6 +405,7 @@ namestore_sqlite_remove_records (void *cls,
struct GNUNET_CRYPTO_ShortHashCode nh;
size_t name_len;
int n;
+
name_len = strlen (name);
GNUNET_CRYPTO_short_hash (name, name_len, &nh);