Author: grothoff
Date: 2008-02-15 18:36:22 -0700 (Fri, 15 Feb 2008)
New Revision: 6314

Modified:
   GNUnet/src/applications/fs/fsui/upload.c
Log:
do not put splits into metadata

Modified: GNUnet/src/applications/fs/fsui/upload.c
===================================================================
--- GNUnet/src/applications/fs/fsui/upload.c    2008-02-16 01:30:40 UTC (rev 
6313)
+++ GNUnet/src/applications/fs/fsui/upload.c    2008-02-16 01:36:22 UTC (rev 
6314)
@@ -437,6 +437,8 @@
          (copied here to allow free later) */
       loc = GNUNET_ECRS_uri_duplicate (utc->uri);
     }
+  while (GNUNET_OK ==
+         GNUNET_ECRS_meta_data_delete (utc->meta, EXTRACTOR_SPLIT, NULL));
   if (utc->shared->global_keywords != NULL)
     GNUNET_ECRS_publish_under_keyword (ectx,
                                        utc->shared->ctx->cfg,
@@ -467,8 +469,6 @@
     }
   GNUNET_ECRS_uri_destroy (loc);
   loc = NULL;
-  while (GNUNET_OK ==
-         GNUNET_ECRS_meta_data_delete (utc->meta, EXTRACTOR_SPLIT, NULL));
   fi.meta = utc->meta;
   fi.uri = utc->uri;
   GNUNET_URITRACK_track (ectx, utc->shared->ctx->cfg, &fi);



_______________________________________________
GNUnet-SVN mailing list
GNUnet-SVN@gnu.org
http://lists.gnu.org/mailman/listinfo/gnunet-svn

Reply via email to