aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-publish.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-03-07 19:09:47 +0000
committerChristian Grothoff <christian@grothoff.org>2012-03-07 19:09:47 +0000
commit8aaf1f156eee428287d573f07144b56fd298a81b (patch)
treed25f1cf0984f856ebdcea1f8d7c2f968b61b0b13 /src/fs/gnunet-publish.c
parent5b382c712bb32260528dfda80a002fed953cb8ce (diff)
downloadgnunet-8aaf1f156eee428287d573f07144b56fd298a81b.tar.gz
gnunet-8aaf1f156eee428287d573f07144b56fd298a81b.zip
-disable extractor should also imply not using the filename as a keyword
Diffstat (limited to 'src/fs/gnunet-publish.c')
-rw-r--r--src/fs/gnunet-publish.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/fs/gnunet-publish.c b/src/fs/gnunet-publish.c
index 50f507d93..84d581384 100644
--- a/src/fs/gnunet-publish.c
+++ b/src/fs/gnunet-publish.c
@@ -291,6 +291,11 @@ publish_inspector (void *cls, struct GNUNET_FS_FileInformation *fi,
291 } 291 }
292 if (!do_disable_creation_time) 292 if (!do_disable_creation_time)
293 GNUNET_CONTAINER_meta_data_add_publication_date (m); 293 GNUNET_CONTAINER_meta_data_add_publication_date (m);
294 if (disable_extractor)
295 {
296 GNUNET_FS_uri_destroy (*uri);
297 *uri = NULL;
298 }
294 if (extract_only) 299 if (extract_only)
295 { 300 {
296 fn = GNUNET_CONTAINER_meta_data_get_by_type (m, 301 fn = GNUNET_CONTAINER_meta_data_get_by_type (m,