summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-07-07 22:56:41 +0200
committerChristian Grothoff <christian@grothoff.org>2020-07-07 22:56:41 +0200
commitdd008384f59b4b57d58588855e2ffe15af4c118e (patch)
tree1448e62e410d586abb39aa6b91acf528c10cfa29
parentb29810dca94bb5e02feafb08cc06ff553819eb53 (diff)
fix #6424
-rw-r--r--src/namestore/gnunet-namestore-gtk.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/namestore/gnunet-namestore-gtk.c b/src/namestore/gnunet-namestore-gtk.c
index 34f80ca4..9e900f62 100644
--- a/src/namestore/gnunet-namestore-gtk.c
+++ b/src/namestore/gnunet-namestore-gtk.c
@@ -2397,7 +2397,7 @@ zone_iteration_proc (void *cls,
return;
}
GNUNET_NAMESTORE_zone_monitor_next (zmon, 1);
- if ((GNUNET_SYSERR == GNUNET_DNSPARSER_check_label (name)) &&
+ if ((GNUNET_SYSERR == GNUNET_DNSPARSER_check_name (name)) &&
(0 != strcmp (name, GNUNET_GNS_EMPTY_LABEL_AT)))
{
GNUNET_break (0);
@@ -2660,7 +2660,7 @@ load_zone (const char *name, struct GNUNET_IDENTITY_Ego *ego)
* Check if @a label is a valid label or is already used for the name
* of any of our zones OR configured as a TLD in the configuration.
*
- * @param label label to check
+ * @param label label or domain name to check
* @return NULL if label is fresh and valid
* error message explaining why @a label is not valid
*/
@@ -2672,7 +2672,7 @@ fresh_label (const char *label)
if ((NULL == label) || (0 == strlen (label)))
return _ ("Name must not be empty\n");
- if (GNUNET_OK != GNUNET_DNSPARSER_check_label (label))
+ if (GNUNET_OK != GNUNET_DNSPARSER_check_name (label))
return _ ("Name is not a syntactically valid DNS label\n");
if (gtk_tree_model_get_iter_first (GTK_TREE_MODEL (zone_liststore), &iter))
{