(no commit message)
[oweals/gnunet.git] / src / fs / test_fs_file_information.c
index 2676330b70d094534cde194a0f90dcec53630291..914dbad9fdec74eb01a990d965b5aadcfa4573d1 100644 (file)
@@ -67,7 +67,6 @@ mycleaner(void *cls,
 
 static void
 run (void *cls,
-     struct GNUNET_SCHEDULER_Handle *s,
      char *const *args,
      const char *cfgfile,
      const struct GNUNET_CONFIGURATION_Handle *cfg)
@@ -87,7 +86,7 @@ run (void *cls,
   struct GNUNET_FS_Handle *fs;
   size_t i;
 
-  fs = GNUNET_FS_start (s, cfg, "test-fs-file-information", NULL, NULL, 
+  fs = GNUNET_FS_start (cfg, "test-fs-file-information", NULL, NULL,
                        GNUNET_FS_FLAGS_NONE,
                        GNUNET_FS_OPTIONS_END);
   fn1 = GNUNET_DISK_mktemp ("gnunet-file_information-test-dst");
@@ -123,6 +122,7 @@ run (void *cls,
                                                     1,
                                                     42,
                                                     GNUNET_TIME_relative_to_absolute (LIFETIME)); 
+  GNUNET_assert (fi1 != NULL);
   fi2 = GNUNET_FS_file_information_create_from_file (fs,
                                                     "file_information-context2",
                                                     fn2,
@@ -132,6 +132,7 @@ run (void *cls,
                                                     1,
                                                     42,
                                                     GNUNET_TIME_relative_to_absolute (LIFETIME)); 
+  GNUNET_assert (fi2 != NULL);
   fidir = GNUNET_FS_file_information_create_empty_directory (fs,
                                                             "file_information-context-dir",
                                                             kuri,