- fixes
[oweals/gnunet.git] / src / namestore / plugin_namestore_sqlite.c
index 429426701fa950b6c270d1a6f2b12b92fb076e0e..98f89b3da6c8f3e85f1cc09480c51da85e9d3d51 100644 (file)
@@ -480,7 +480,7 @@ namestore_sqlite_put_records (void *cls,
   GNUNET_CRYPTO_hash (name, name_len, &nh);
   memset (&zone_delegation, 0, sizeof (zone_delegation));
   for (i=0;i<rd_count;i++)
-    if (rd[i].record_type == GNUNET_GNS_TYPE_PKEY)
+    if (rd[i].record_type == GNUNET_NAMESTORE_TYPE_PKEY)
     {
       GNUNET_assert (sizeof (GNUNET_HashCode) == rd[i].data_size);
       memcpy (&zone_delegation,