fixfix
authorChristian Grothoff <christian@grothoff.org>
Fri, 2 Apr 2010 14:47:52 +0000 (14:47 +0000)
committerChristian Grothoff <christian@grothoff.org>
Fri, 2 Apr 2010 14:47:52 +0000 (14:47 +0000)
src/fs/fs_directory.c

index 1879b1b74423c312ebe48009231ca910a54dee7b..cc865966e30ed4d02b9bf7acb565b6c1b9c3e3da 100644 (file)
@@ -189,7 +189,6 @@ GNUNET_FS_directory_list_contents (size_t size,
 {
   struct GetFullDataClosure full_data;
   const char *cdata = data;
-  char *file_data;
   char *emsg;
   uint64_t pos;
   uint64_t align;
@@ -302,10 +301,10 @@ GNUNET_FS_directory_list_contents (size_t size,
               filename,
               uri,
               md,
-              full_data.data,
-              full_data.size);
+              full_data.size,
+              full_data.data);
        }
-      GNUNET_free_non_null (full_data.file_data);
+      GNUNET_free_non_null (full_data.data);
       GNUNET_free_non_null (filename);
       GNUNET_CONTAINER_meta_data_destroy (md);
       GNUNET_FS_uri_destroy (uri);