fix
authorChristian Grothoff <christian@grothoff.org>
Mon, 17 May 2010 18:04:56 +0000 (18:04 +0000)
committerChristian Grothoff <christian@grothoff.org>
Mon, 17 May 2010 18:04:56 +0000 (18:04 +0000)
src/datacache/test_datacache_quota.c
src/hostlist/gnunet-daemon-hostlist.c
src/transport/plugin_transport_http.c

index 6a8c3c5161d74631fe8b26d65f3a06916fe73464..f1bf8c436a7f440430b2e8eff1d7782399969305 100644 (file)
@@ -113,7 +113,7 @@ FAILURE:
 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 @@ check ()
     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 @@ main (int argc, char *argv[])
 {
   int ret;
   
-  GNUNET_log_setup ("test-datacache-api-quota",
+  GNUNET_log_setup ("test-datacache-quota",
 #if VERBOSE
                     "DEBUG",
 #else
index cf0f646ed37fb840a3a435520cae16eb16c06abb..9d85e667290cec021ab536ed143a6b20b6748eab 100644 (file)
@@ -74,11 +74,6 @@ static int bootstrapping;
  */
 static int learning;
 
-/**
- * Our configuration.
- */
-static const struct GNUNET_CONFIGURATION_Handle *cfg;
-
 /**
  * Statistics handle.
  */
@@ -256,11 +251,6 @@ cleaning_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
                                 GNUNET_NO);
       stats = NULL;
     }
-  if (cfg != NULL)
-    {
-      GNUNET_CONFIGURATION_destroy(cfg);
-      cfg = NULL;
-    }
 }
 
 /**
index 085cb78a07d69b84e16364c4c3795ec4aa84a11a..4c63997cd7b8553741d42962c8f4747e6fdacf8e 100644 (file)
@@ -337,7 +337,6 @@ accessHandlerCallback (void *cls,
   struct MHD_Response *response;
   http_session = *httpSessionCache;
 
-  struct sockaddr *addr;
   struct sockaddr_in  *addrin;
   struct sockaddr_in6 *addrin6;
   char * address;