plane hacking
[oweals/gnunet.git] / src / fs / test_fs_file_information.c
index 2d66d5185dcd40be08def04fd7f6ecf1f9d2b078..57698165e460ebe06b1951a9331be803cdc47081 100644 (file)
@@ -4,7 +4,7 @@
 
      GNUnet is free software; you can redistribute it and/or modify
      it under the terms of the GNU General Public License as published
-     by the Free Software Foundation; either version 2, or (at your
+     by the Free Software Foundation; either version 3, or (at your
      option) any later version.
 
      GNUnet is distributed in the hope that it will be useful, but
@@ -57,6 +57,7 @@ mycleaner(void *cls,
          struct GNUNET_FS_Uri **uri,
          uint32_t *anonymity,
          uint32_t *priority,
+         int *do_index,
          struct GNUNET_TIME_Absolute *expirationTime,
          void **client_info)
 {
@@ -122,6 +123,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,
@@ -131,6 +133,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,