[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r2462 - gnunet-gtk/src/plugins/stats
From: |
grothoff |
Subject: |
[GNUnet-SVN] r2462 - gnunet-gtk/src/plugins/stats |
Date: |
Sat, 18 Feb 2006 16:55:39 -0800 (PST) |
Author: grothoff
Date: 2006-02-18 16:55:36 -0800 (Sat, 18 Feb 2006)
New Revision: 2462
Modified:
gnunet-gtk/src/plugins/stats/functions.c
Log:
fix
Modified: gnunet-gtk/src/plugins/stats/functions.c
===================================================================
--- gnunet-gtk/src/plugins/stats/functions.c 2006-02-15 16:31:25 UTC (rev
2461)
+++ gnunet-gtk/src/plugins/stats/functions.c 2006-02-19 00:55:36 UTC (rev
2462)
@@ -14,8 +14,8 @@
You should have received a copy of the GNU General Public License
along with GNUnet; see the file COPYING. If not, write to the
- Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- Boston, MA 02111-1307, USA.
+ Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ Boston, MA 02110-1301, USA.
*/
@@ -250,7 +250,7 @@
512,
"# bytes received of type %d",
P2P_PROTO_gap_QUERY);
- if (OK == getStatValue(&queries,
+ if (OK != getStatValue(&queries,
&lqueries,
NULL,
buffer)) {
@@ -274,7 +274,7 @@
data[0][0] = 0.8 * noise / (bandup * dtime / cronSECONDS); /* red */
data[0][1] = 0.8 * (noise + content) / (bandup*dtime / cronSECONDS); /*
green */
data[0][2] = 0.8 * (noise + content + queries) / (bandup*dtime /
cronSECONDS); /* yellow */
- data[0][3] = 0.8 * total / (bandup*dtime / cronSECONDS); /* yellow */
+ data[0][3] = 0.8 * total / (bandup*dtime / cronSECONDS); /* blue */
/* printf("O: %f %f %f\n",
data[0][0],
data[0][1],
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r2462 - gnunet-gtk/src/plugins/stats,
grothoff <=