diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-05-20 18:55:39 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-05-20 18:55:39 +0200 |
commit | 705459369c0d834ed055160e7a40418ed2014956 (patch) | |
tree | ec8846c523d45ff60edddd5eddec9aa355f5a2aa /src | |
parent | f4d0fb91c3850eb69a3e25800518d974bc7ee1f7 (diff) | |
download | gnunet-705459369c0d834ed055160e7a40418ed2014956.tar.gz gnunet-705459369c0d834ed055160e7a40418ed2014956.zip |
fix warning
Diffstat (limited to 'src')
-rw-r--r-- | src/gns/Makefile.am | 1 | ||||
-rw-r--r-- | src/gns/gnunet-gns-benchmark.c | 2 |
2 files changed, 2 insertions, 1 deletions
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 = \ | |||
264 | test_gns_txt_lookup.sh\ | 264 | test_gns_txt_lookup.sh\ |
265 | test_gns_mx_lookup.sh \ | 265 | test_gns_mx_lookup.sh \ |
266 | test_gns_gns2dns_lookup.sh \ | 266 | test_gns_gns2dns_lookup.sh \ |
267 | test_gns_gns2dns_cname_lookup.sh \ | ||
267 | test_gns_dht_lookup.sh\ | 268 | test_gns_dht_lookup.sh\ |
268 | test_gns_delegated_lookup.sh \ | 269 | test_gns_delegated_lookup.sh \ |
269 | test_gns_at_lookup.sh\ | 270 | 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, | |||
454 | req = GNUNET_malloc (sizeof (struct Request) + hlen); | 454 | req = GNUNET_malloc (sizeof (struct Request) + hlen); |
455 | req->cat = cat; | 455 | req->cat = cat; |
456 | req->hostname = (char *) &req[1]; | 456 | req->hostname = (char *) &req[1]; |
457 | GNUNET_memcpy (req->hostname, | 457 | GNUNET_memcpy (&req[1], |
458 | hostname, | 458 | hostname, |
459 | hlen); | 459 | hlen); |
460 | GNUNET_CONTAINER_DLL_insert (todo_head, | 460 | GNUNET_CONTAINER_DLL_insert (todo_head, |