gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r25179 - gnunet-gtk/src/setup


From: gnunet
Subject: [GNUnet-SVN] r25179 - gnunet-gtk/src/setup
Date: Mon, 3 Dec 2012 09:26:38 +0100

Author: grothoff
Date: 2012-12-03 09:26:38 +0100 (Mon, 03 Dec 2012)
New Revision: 25179

Modified:
   gnunet-gtk/src/setup/gnunet-setup-gns.c
Log:
-only append pseu in master zone

Modified: gnunet-gtk/src/setup/gnunet-setup-gns.c
===================================================================
--- gnunet-gtk/src/setup/gnunet-setup-gns.c     2012-12-03 08:22:56 UTC (rev 
25178)
+++ gnunet-gtk/src/setup/gnunet-setup-gns.c     2012-12-03 08:26:38 UTC (rev 
25179)
@@ -387,14 +387,14 @@
 static char *current_pseudonym;
 
 /**
- * Pointer to 'short', 'private' or empty string, depending on 
- * which zone we are editing right now.
+ * Pointer to 'short', 'private' or empty string (for master zone),
+ * depending on which zone we are editing right now.
  */
 static const char *current_zone_name;
 
 /**
  * Pointer to name of the configuration option that gives the
- * zone key for the zone we are editing right now.
+ * zone key for the zone we are editing right now.  
  */
 static const char *current_zone_option;
 
@@ -829,10 +829,10 @@
     g_free (name);
     return;
   }
-  if (0 == strcmp (name, ROOT_STR))
+  if ( (0 == strcmp (name, ROOT_STR)) &&
+       (0 == strcmp (current_zone_name, "")) )
   {
-    /* FIXME: only if this is our 'primary' zone (not for private/shorten 
zones!) */
-    /* We have to append PSEU RECORD */
+    /* We have to append PSEU RECORD, this is the 'master' zone */
     append_pseu = GNUNET_YES;
     records = children + 1;
   }




reply via email to

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