fix warning
authorChristian Grothoff <christian@grothoff.org>
Sun, 20 May 2018 16:55:39 +0000 (18:55 +0200)
committerChristian Grothoff <christian@grothoff.org>
Sun, 20 May 2018 16:55:39 +0000 (18:55 +0200)
src/gns/Makefile.am
src/gns/gnunet-gns-benchmark.c

index ac11c834e88944f2b67490a10146a4e925dda03a..46642113fac0518f639929e46c97187401451496 100644 (file)
@@ -264,6 +264,7 @@ check_SCRIPTS = \
   test_gns_txt_lookup.sh\
   test_gns_mx_lookup.sh \
   test_gns_gns2dns_lookup.sh \
+  test_gns_gns2dns_cname_lookup.sh \
   test_gns_dht_lookup.sh\
   test_gns_delegated_lookup.sh \
   test_gns_at_lookup.sh\
index 574251c87f40d669ed8a04cb7159657c418ba74b..00d1c681383215eee1b3668d99d0faec4426c97f 100644 (file)
@@ -454,7 +454,7 @@ queue (const char *hostname,
   req = GNUNET_malloc (sizeof (struct Request) + hlen);
   req->cat = cat;
   req->hostname = (char *) &req[1];
-  GNUNET_memcpy (req->hostname,
+  GNUNET_memcpy (&req[1],
                  hostname,
                  hlen);
   GNUNET_CONTAINER_DLL_insert (todo_head,