extra sanity check for #5582
authorChristian Grothoff <christian@grothoff.org>
Tue, 19 Feb 2019 00:09:32 +0000 (01:09 +0100)
committerChristian Grothoff <christian@grothoff.org>
Tue, 19 Feb 2019 00:09:32 +0000 (01:09 +0100)
src/namestore/test_plugin_namestore.c

index 30778ed69596bfeef8f8b067897cf5ce00dc6280..9c978749fe1174404e1953527244107b3438cc59 100644 (file)
@@ -107,7 +107,8 @@ test_record (void *cls,
   GNUNET_snprintf (tname,
                    sizeof (tname),
                   "a%u",
-                   (unsigned int ) id);
+                   (unsigned int) id);
+  GNUNET_assert (trd_count == rd_count);
   for (unsigned int i=0;i<trd_count;i++)
   {
     GNUNET_assert (rd[i].data_size == id % 10);