aboutsummaryrefslogtreecommitdiff
path: root/src/gns
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2014-07-10 10:38:46 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2014-07-10 10:38:46 +0000
commit6c75526e936fcc74ee79b13831b2b6dda57f293d (patch)
tree973139c9c98e1902cf9ef91c594937220f96e541 /src/gns
parent9d34e24f35f2d3e4d73daa7e4dfd92efd8187a94 (diff)
downloadgnunet-6c75526e936fcc74ee79b13831b2b6dda57f293d.tar.gz
gnunet-6c75526e936fcc74ee79b13831b2b6dda57f293d.zip
rename "name" to label
Diffstat (limited to 'src/gns')
-rw-r--r--src/gns/gnunet-service-gns.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gns/gnunet-service-gns.c b/src/gns/gnunet-service-gns.c
index c98a7e528..1f21c103a 100644
--- a/src/gns/gnunet-service-gns.c
+++ b/src/gns/gnunet-service-gns.c
@@ -503,21 +503,21 @@ perform_dht_put (const struct GNUNET_CRYPTO_EcdsaPrivateKey *key,
503 * 503 *
504 * @param cls the closure (NULL) 504 * @param cls the closure (NULL)
505 * @param key the private key of the authority (ours) 505 * @param key the private key of the authority (ours)
506 * @param name the name of the records, NULL once the iteration is done 506 * @param label the name of the records, NULL once the iteration is done
507 * @param rd_count the number of records in @a rd 507 * @param rd_count the number of records in @a rd
508 * @param rd the record data 508 * @param rd the record data
509 */ 509 */
510static void 510static void
511put_gns_record (void *cls, 511put_gns_record (void *cls,
512 const struct GNUNET_CRYPTO_EcdsaPrivateKey *key, 512 const struct GNUNET_CRYPTO_EcdsaPrivateKey *key,
513 const char *name, 513 const char *label,
514 unsigned int rd_count, 514 unsigned int rd_count,
515 const struct GNUNET_GNSRECORD_Data *rd) 515 const struct GNUNET_GNSRECORD_Data *rd)
516{ 516{
517 struct GNUNET_GNSRECORD_Data rd_public[rd_count]; 517 struct GNUNET_GNSRECORD_Data rd_public[rd_count];
518 unsigned int rd_public_count; 518 unsigned int rd_public_count;
519 519
520 if (NULL == name) 520 if (NULL == label)
521 { 521 {
522 /* we're done with one iteration, calculate when to do the next one */ 522 /* we're done with one iteration, calculate when to do the next one */
523 namestore_iter = NULL; 523 namestore_iter = NULL;
@@ -588,7 +588,7 @@ put_gns_record (void *cls,
588 } 588 }
589 589
590 active_put = perform_dht_put (key, 590 active_put = perform_dht_put (key,
591 name, 591 label,
592 rd_public, 592 rd_public,
593 rd_public_count, 593 rd_public_count,
594 NULL); 594 NULL);