gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r18860 - gnunet-gtk/src/fs


From: gnunet
Subject: [GNUnet-SVN] r18860 - gnunet-gtk/src/fs
Date: Sat, 31 Dec 2011 00:13:56 +0100

Author: grothoff
Date: 2011-12-31 00:13:56 +0100 (Sat, 31 Dec 2011)
New Revision: 18860

Modified:
   gnunet-gtk/src/fs/gnunet-fs-gtk-main_window_file_publish.c
Log:
-LRN: do not forward metadata from only one file

Modified: gnunet-gtk/src/fs/gnunet-fs-gtk-main_window_file_publish.c
===================================================================
--- gnunet-gtk/src/fs/gnunet-fs-gtk-main_window_file_publish.c  2011-12-30 
22:47:14 UTC (rev 18859)
+++ gnunet-gtk/src/fs/gnunet-fs-gtk-main_window_file_publish.c  2011-12-30 
23:13:56 UTC (rev 18860)
@@ -693,7 +693,7 @@
   struct MetaProcessContext *mpc = cls;
   struct MetaCounter *counter = value;
 
-  if (counter->count >= mpc->threshold)
+  if (counter->count >= mpc->threshold && counter->count > 1)
   {
     GNUNET_CONTAINER_meta_data_insert (mpc->md, "<gnunet-gtk>", counter->type,
                                        counter->format, 
counter->value_mimetype,




reply via email to

[Prev in Thread] Current Thread [Next in Thread]