use extractor
authorChristian Grothoff <christian@grothoff.org>
Sun, 6 Jun 2010 10:53:30 +0000 (10:53 +0000)
committerChristian Grothoff <christian@grothoff.org>
Sun, 6 Jun 2010 10:53:30 +0000 (10:53 +0000)
src/fs/gnunet-publish.c

index 3a4f089a774c37cb65a34a0f66ea0b1c1c018707..809c48be222fb4fd10f110f764704a073ed85875 100644 (file)
@@ -545,6 +545,8 @@ run (void *cls,
     }
   else
     {
+      if (meta == NULL)
+       meta = GNUNET_CONTAINER_meta_data_create ();
       GNUNET_FS_meta_data_extract_from_file (meta,
                                             args[0],
                                             l);