now this should work...
authorChristian Grothoff <christian@grothoff.org>
Wed, 10 Oct 2018 07:21:07 +0000 (09:21 +0200)
committerChristian Grothoff <christian@grothoff.org>
Wed, 10 Oct 2018 07:21:07 +0000 (09:21 +0200)
src/namestore/plugin_namestore_flat.c

index edfd3ec6a6a89aa33ec4652415682d38dc870e2d..4873f6e5191c62c21d76ef540697cdb70f4afff0 100644 (file)
@@ -607,7 +607,9 @@ iterate_zones (void *cls,
   }
   ic->iter (ic->iter_cls,
            ic->pos,
-            ic->zone,
+            (NULL == ic->zone) 
+           ? &entry->private_key
+           : ic->zone,
             entry->label,
             entry->record_count,
             entry->record_data);