[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r2335 - GNUnet/src/applications/fs/fsui
From: |
grothoff |
Subject: |
[GNUnet-SVN] r2335 - GNUnet/src/applications/fs/fsui |
Date: |
Fri, 16 Dec 2005 00:50:05 -0800 (PST) |
Author: grothoff
Date: 2005-12-16 00:50:01 -0800 (Fri, 16 Dec 2005)
New Revision: 2335
Modified:
GNUnet/src/applications/fs/fsui/upload.c
Log:
mantis 987
Modified: GNUnet/src/applications/fs/fsui/upload.c
===================================================================
--- GNUnet/src/applications/fs/fsui/upload.c 2005-12-16 08:48:57 UTC (rev
2334)
+++ GNUnet/src/applications/fs/fsui/upload.c 2005-12-16 08:50:01 UTC (rev
2335)
@@ -32,6 +32,11 @@
#define DEBUG_UPLOAD NO
+/* LE <= 0.5.8 compatibility code */
+#ifndef EXTRACTOR_SPLIT
+#define EXTRACTOR_SPLIT 90
+#endif
+
/**
* Data used to keep track of the files in the
* current directory.
@@ -308,6 +313,10 @@
GROW(utc->dir->fis,
utc->dir->fiCount,
utc->dir->fiCount+1);
+ /* remove split keywords! */
+ ECRS_delFromMetaData(meta,
+ EXTRACTOR_SPLIT,
+ NULL);
utc->dir->fis[utc->dir->fiCount-1].meta = meta;
utc->dir->fis[utc->dir->fiCount-1].uri = uri;
} else {
@@ -459,6 +468,9 @@
utc->meta);
}
fi.uri = uri;
+ ECRS_delFromMetaData(utc->meta,
+ EXTRACTOR_SPLIT,
+ NULL);
fi.meta = utc->meta;
FSUI_publishToCollection(utc->ctx,
&fi);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r2335 - GNUnet/src/applications/fs/fsui,
grothoff <=