diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-12-30 23:13:56 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-12-30 23:13:56 +0000 |
commit | 1277a8eb766842c78fe2f8080a304a2ff773faf9 (patch) | |
tree | 6e2dc10841130885412bc5d435e79713a3020825 | |
parent | 58f46cfd42d8e72b45b8163aaa89681f5ba6940a (diff) | |
download | gnunet-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.c | 2 |
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, |