port 0 for tcp plugin is BAD
[oweals/gnunet.git] / src / datacache / test_datacache.c
index da7894d6b601ac94216167dbc9d06e57854a7dd0..b626ce67df908a6432f60c67011bb29cc078ba04 100644 (file)
@@ -62,7 +62,6 @@ checkIt (void *cls,
 
 static void
 run (void *cls,
-     struct GNUNET_SCHEDULER_Handle *sched,
      char *const *args,
      const char *cfgfile,
      const struct GNUNET_CONFIGURATION_Handle *cfg)
@@ -74,8 +73,7 @@ run (void *cls,
   unsigned int i;
 
   ok = 0;
-  h = GNUNET_DATACACHE_create (sched,
-                              cfg,
+  h = GNUNET_DATACACHE_create (cfg,
                               "testcache");
   if (h == NULL)
     {
@@ -84,7 +82,7 @@ run (void *cls,
       return;
     }
   exp = GNUNET_TIME_absolute_get ();
-  exp.value += 5 * 60 * 1000;
+  exp.abs_value += 5 * 60 * 1000;
   memset (&k, 0, sizeof (GNUNET_HashCode));
   for (i = 0; i < 100; i++)
     {