gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r15492 - gnunet-setup/src


From: gnunet
Subject: [GNUnet-SVN] r15492 - gnunet-setup/src
Date: Thu, 9 Jun 2011 15:26:47 +0200

Author: toelke
Date: 2011-06-09 15:26:47 +0200 (Thu, 09 Jun 2011)
New Revision: 15492

Modified:
   gnunet-setup/src/gnunet-setup-options.c
Log:
begin saving the service-config

Modified: gnunet-setup/src/gnunet-setup-options.c
===================================================================
--- gnunet-setup/src/gnunet-setup-options.c     2011-06-09 13:26:45 UTC (rev 
15491)
+++ gnunet-setup/src/gnunet-setup-options.c     2011-06-09 13:26:47 UTC (rev 
15492)
@@ -779,7 +779,12 @@
                            4, &altnames,
                            5, &tcpudp,
                            -1);
-       /* FIXME: update cfg! */
+
+       GNUNET_log(GNUNET_ERROR_TYPE_DEBUG, "[%s]: %u:%s:%u, %s %s\n", 
hostname, srcport, targethost, targetport, altnames, tcpudp);
+
+       if (NULL != altnames)
+         GNUNET_CONFIGURATION_set_value_string(cfg, hostname, 
"ALTERNATIVE_NAMES", altnames);
+
        g_free (hostname);
        g_free (targethost);
        g_free (altnames);




reply via email to

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