gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r7407 - GNUnet/src/server


From: gnunet
Subject: [GNUnet-SVN] r7407 - GNUnet/src/server
Date: Thu, 10 Jul 2008 01:03:32 -0600 (MDT)

Author: grothoff
Date: 2008-07-10 01:03:31 -0600 (Thu, 10 Jul 2008)
New Revision: 7407

Modified:
   GNUnet/src/server/gnunet-transport-check.c
   GNUnet/src/server/gnunet-update.c
Log:
have server tools run without tcpserver

Modified: GNUnet/src/server/gnunet-transport-check.c
===================================================================
--- GNUnet/src/server/gnunet-transport-check.c  2008-07-10 06:59:29 UTC (rev 
7406)
+++ GNUnet/src/server/gnunet-transport-check.c  2008-07-10 07:03:31 UTC (rev 
7407)
@@ -424,7 +424,12 @@
       GNUNET_fini (ectx, cfg);
       return 1;
     }
-
+  /* have no client disturb us! */
+  GNUNET_GC_set_configuration_value_string (cfg,
+                                           NULL,
+                                           "TCPSERVER",
+                                           "DISABLE",
+                                           "YES");
   expectedValue = GNUNET_malloc (expectedSize);
   pos = expectedSize;
   expectedValue[--pos] = '\0';

Modified: GNUnet/src/server/gnunet-update.c
===================================================================
--- GNUnet/src/server/gnunet-update.c   2008-07-10 06:59:29 UTC (rev 7406)
+++ GNUnet/src/server/gnunet-update.c   2008-07-10 07:03:31 UTC (rev 7407)
@@ -1,6 +1,6 @@
 /*
      This file is part of GNUnet.
-     (C) 2004, 2006 Christian Grothoff (and other contributing authors)
+     (C) 2004, 2006, 2008 Christian Grothoff (and other contributing authors)
 
      GNUnet is free software; you can redistribute it and/or modify
      it under the terms of the GNU General Public License as published
@@ -191,7 +191,12 @@
   uapi.service_release = &GNUNET_CORE_release_service;
   uapi.ectx = ectx;
   uapi.cfg = cfg;
-
+  /* have no client disturb us! */
+  GNUNET_GC_set_configuration_value_string (cfg,
+                                           NULL,
+                                           "TCPSERVER",
+                                           "DISABLE",
+                                           "YES");
   GNUNET_GC_get_configuration_value_string (cfg,
                                             "MODULES",
                                             "topology",





reply via email to

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