aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2007-02-28 23:03:38 +0000
committerChristian Grothoff <christian@grothoff.org>2007-02-28 23:03:38 +0000
commit9401ddcc8ad9c79b46376817e888424a45a9de36 (patch)
tree92e4d294f24adc7b3c045fb1d001973856cdbe0d
parentddb73505382e7ce0a67267e32e9f4a8b5d95afe8 (diff)
downloadgnunet-gtk-9401ddcc8ad9c79b46376817e888424a45a9de36.tar.gz
gnunet-gtk-9401ddcc8ad9c79b46376817e888424a45a9de36.zip
fx
-rw-r--r--src/plugins/stats/functions.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/stats/functions.c b/src/plugins/stats/functions.c
index 846dd67b..16330efd 100644
--- a/src/plugins/stats/functions.c
+++ b/src/plugins/stats/functions.c
@@ -458,8 +458,9 @@ static int statsProcessor(const char * optName,
458 last = 0; 458 last = 0;
459 j = last; 459 j = last;
460 found = -1; 460 found = -1;
461 if (0 == strcmp(optName, 461 if ( (j < lsv_size) &&
462 lastStatValues[j].statName)) 462 (0 == strcmp(optName,
463 lastStatValues[j].statName)) )
463 found = j; 464 found = j;
464 if (found == -1) { 465 if (found == -1) {
465 for (j=0;j<lsv_size;j++) { 466 for (j=0;j<lsv_size;j++) {