-add records as pending
authorMartin Schanzenbach <mschanzenbach@posteo.de>
Wed, 28 Mar 2012 09:36:05 +0000 (09:36 +0000)
committerMartin Schanzenbach <mschanzenbach@posteo.de>
Wed, 28 Mar 2012 09:36:05 +0000 (09:36 +0000)
src/gns/gnunet-service-gns_resolver.c

index 7d3a518b5451d1771d36a63b30f6167197ce489a..436465a2d9494689c5d94e0348fd242696dfbdc7 100644 (file)
@@ -132,6 +132,9 @@ process_pseu_lookup_ns(void* cls,
   new_pkey.data_size = sizeof(struct GNUNET_CRYPTO_ShortHashCode);
   new_pkey.data = &gph->new_zone;
   new_pkey.record_type = GNUNET_GNS_RECORD_PKEY;
+  new_pkey.flags = GNUNET_NAMESTORE_RF_AUTHORITY
+                 | GNUNET_NAMESTORE_RF_PRIVATE
+                 | GNUNET_NAMESTORE_RF_PENDING;
   GNUNET_NAMESTORE_record_create (namestore_handle,
                                   gph->key,
                                   gph->new_name,