From: Christian Grothoff Date: Sun, 20 May 2018 16:55:39 +0000 (+0200) Subject: fix warning X-Git-Tag: v0.11.0pre66~36^2~43 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=705459369c0d834ed055160e7a40418ed2014956;p=oweals%2Fgnunet.git fix warning --- diff --git a/src/gns/Makefile.am b/src/gns/Makefile.am index ac11c834e..46642113f 100644 --- a/src/gns/Makefile.am +++ b/src/gns/Makefile.am @@ -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\ diff --git a/src/gns/gnunet-gns-benchmark.c b/src/gns/gnunet-gns-benchmark.c index 574251c87..00d1c6813 100644 --- a/src/gns/gnunet-gns-benchmark.c +++ b/src/gns/gnunet-gns-benchmark.c @@ -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,