summaryrefslogtreecommitdiff
path: root/src/namestore/gnunet-namestore-gtk.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/namestore/gnunet-namestore-gtk.c')
-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))
{