gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r11406 - in gnunet/src: datacache hostlist transport


From: gnunet
Subject: [GNUnet-SVN] r11406 - in gnunet/src: datacache hostlist transport
Date: Mon, 17 May 2010 20:04:56 +0200

Author: grothoff
Date: 2010-05-17 20:04:56 +0200 (Mon, 17 May 2010)
New Revision: 11406

Modified:
   gnunet/src/datacache/test_datacache_quota.c
   gnunet/src/hostlist/gnunet-daemon-hostlist.c
   gnunet/src/transport/plugin_transport_http.c
Log:
fix

Modified: gnunet/src/datacache/test_datacache_quota.c
===================================================================
--- gnunet/src/datacache/test_datacache_quota.c 2010-05-17 16:44:02 UTC (rev 
11405)
+++ gnunet/src/datacache/test_datacache_quota.c 2010-05-17 18:04:56 UTC (rev 
11406)
@@ -113,7 +113,7 @@
 static int
 check ()
 {
-  char *const argv[] = { "test-datacache-api-quota",
+  char *const argv[] = { "test-datacache-quota",
     "-c",
     "test_datacache_data.conf",
 #if VERBOSE
@@ -125,7 +125,7 @@
     GNUNET_GETOPT_OPTION_END
   };
   GNUNET_PROGRAM_run ((sizeof (argv) / sizeof (char *)) - 1,
-                      argv, "test-datacache-api-quota", "nohelp",
+                      argv, "test-datacache-quota", "nohelp",
                       options, &run, NULL);
   if (ok != 0)
     fprintf (stderr, "Missed some testcases: %d\n", ok);
@@ -138,7 +138,7 @@
 {
   int ret;
   
-  GNUNET_log_setup ("test-datacache-api-quota",
+  GNUNET_log_setup ("test-datacache-quota",
 #if VERBOSE
                     "DEBUG",
 #else

Modified: gnunet/src/hostlist/gnunet-daemon-hostlist.c
===================================================================
--- gnunet/src/hostlist/gnunet-daemon-hostlist.c        2010-05-17 16:44:02 UTC 
(rev 11405)
+++ gnunet/src/hostlist/gnunet-daemon-hostlist.c        2010-05-17 18:04:56 UTC 
(rev 11406)
@@ -75,11 +75,6 @@
 static int learning;
 
 /**
- * Our configuration.
- */
-static const struct GNUNET_CONFIGURATION_Handle *cfg;
-
-/**
  * Statistics handle.
  */
 static struct GNUNET_STATISTICS_Handle *stats;
@@ -256,11 +251,6 @@
                                 GNUNET_NO);
       stats = NULL;
     }
-  if (cfg != NULL)
-    {
-      GNUNET_CONFIGURATION_destroy(cfg);
-      cfg = NULL;
-    }
 }
 
 /**

Modified: gnunet/src/transport/plugin_transport_http.c
===================================================================
--- gnunet/src/transport/plugin_transport_http.c        2010-05-17 16:44:02 UTC 
(rev 11405)
+++ gnunet/src/transport/plugin_transport_http.c        2010-05-17 18:04:56 UTC 
(rev 11406)
@@ -337,7 +337,6 @@
   struct MHD_Response *response;
   http_session = *httpSessionCache;
 
-  struct sockaddr *addr;
   struct sockaddr_in  *addrin;
   struct sockaddr_in6 *addrin6;
   char * address;




reply via email to

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