gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet-gtk] branch master updated: fix #6424


From: gnunet
Subject: [gnunet-gtk] branch master updated: fix #6424
Date: Tue, 07 Jul 2020 23:02:30 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository gnunet-gtk.

The following commit(s) were added to refs/heads/master by this push:
     new dd008384 fix #6424
     new 90c246d2 Merge branch 'master' of git+ssh://gnunet.org/gnunet-gtk
dd008384 is described below

commit dd008384f59b4b57d58588855e2ffe15af4c118e
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Tue Jul 7 22:56:41 2020 +0200

    fix #6424
---
 src/namestore/gnunet-namestore-gtk.c | 6 +++---
 1 file 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))
   {

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]