diff options
-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, |