aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-12-30 23:13:56 +0000
committerChristian Grothoff <christian@grothoff.org>2011-12-30 23:13:56 +0000
commit1277a8eb766842c78fe2f8080a304a2ff773faf9 (patch)
tree6e2dc10841130885412bc5d435e79713a3020825
parent58f46cfd42d8e72b45b8163aaa89681f5ba6940a (diff)
downloadgnunet-gtk-1277a8eb766842c78fe2f8080a304a2ff773faf9.tar.gz
gnunet-gtk-1277a8eb766842c78fe2f8080a304a2ff773faf9.zip
-LRN: do not forward metadata from only one file
-rw-r--r--src/fs/gnunet-fs-gtk-main_window_file_publish.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/gnunet-fs-gtk-main_window_file_publish.c b/src/fs/gnunet-fs-gtk-main_window_file_publish.c
index f542530b..2d93e722 100644
--- a/src/fs/gnunet-fs-gtk-main_window_file_publish.c
+++ b/src/fs/gnunet-fs-gtk-main_window_file_publish.c
@@ -693,7 +693,7 @@ migrate_and_drop (void *cls, const GNUNET_HashCode * key, void *value)
693 struct MetaProcessContext *mpc = cls; 693 struct MetaProcessContext *mpc = cls;
694 struct MetaCounter *counter = value; 694 struct MetaCounter *counter = value;
695 695
696 if (counter->count >= mpc->threshold) 696 if (counter->count >= mpc->threshold && counter->count > 1)
697 { 697 {
698 GNUNET_CONTAINER_meta_data_insert (mpc->md, "<gnunet-gtk>", counter->type, 698 GNUNET_CONTAINER_meta_data_insert (mpc->md, "<gnunet-gtk>", counter->type,
699 counter->format, counter->value_mimetype, 699 counter->format, counter->value_mimetype,