aboutsummaryrefslogtreecommitdiff
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,
2397 return; 2397 return;
2398 } 2398 }
2399 GNUNET_NAMESTORE_zone_monitor_next (zmon, 1); 2399 GNUNET_NAMESTORE_zone_monitor_next (zmon, 1);
2400 if ((GNUNET_SYSERR == GNUNET_DNSPARSER_check_label (name)) && 2400 if ((GNUNET_SYSERR == GNUNET_DNSPARSER_check_name (name)) &&
2401 (0 != strcmp (name, GNUNET_GNS_EMPTY_LABEL_AT))) 2401 (0 != strcmp (name, GNUNET_GNS_EMPTY_LABEL_AT)))
2402 { 2402 {
2403 GNUNET_break (0); 2403 GNUNET_break (0);
@@ -2660,7 +2660,7 @@ load_zone (const char *name, struct GNUNET_IDENTITY_Ego *ego)
2660 * Check if @a label is a valid label or is already used for the name 2660 * Check if @a label is a valid label or is already used for the name
2661 * of any of our zones OR configured as a TLD in the configuration. 2661 * of any of our zones OR configured as a TLD in the configuration.
2662 * 2662 *
2663 * @param label label to check 2663 * @param label label or domain name to check
2664 * @return NULL if label is fresh and valid 2664 * @return NULL if label is fresh and valid
2665 * error message explaining why @a label is not valid 2665 * error message explaining why @a label is not valid
2666 */ 2666 */
@@ -2672,7 +2672,7 @@ fresh_label (const char *label)
2672 2672
2673 if ((NULL == label) || (0 == strlen (label))) 2673 if ((NULL == label) || (0 == strlen (label)))
2674 return _ ("Name must not be empty\n"); 2674 return _ ("Name must not be empty\n");
2675 if (GNUNET_OK != GNUNET_DNSPARSER_check_label (label)) 2675 if (GNUNET_OK != GNUNET_DNSPARSER_check_name (label))
2676 return _ ("Name is not a syntactically valid DNS label\n"); 2676 return _ ("Name is not a syntactically valid DNS label\n");
2677 if (gtk_tree_model_get_iter_first (GTK_TREE_MODEL (zone_liststore), &iter)) 2677 if (gtk_tree_model_get_iter_first (GTK_TREE_MODEL (zone_liststore), &iter))
2678 { 2678 {