Found a bug. Attached patch probably repairs it.
Still not seeing any noise (red) in the graph, so the code may still remain partly broken. Could someone check this further? --Toni
Index: functions.c
===================================================================
--- functions.c (revision 2461)
+++ functions.c (working copy)
@@ -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],
signature.asc
Description: This is a digitally signed message part
_______________________________________________ GNUnet-developers mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnunet-developers
