Code

rrdcached plugin: Fix a typo.
authorFlorian Forster <octo@huhu.verplant.org>
Wed, 1 Jul 2009 14:59:56 +0000 (16:59 +0200)
committerFlorian Forster <octo@noris.net>
Wed, 1 Jul 2009 14:59:56 +0000 (16:59 +0200)
src/rrdcached.c

index 8755400b7debcea38742c6d24ba56e69201e793b..728ada459d821f2c7cd4d009e14cdd882e01f59d 100644 (file)
@@ -77,7 +77,7 @@ static int value_list_to_string (char *buffer, int buffer_len,
     if ((ds->ds[i].type != DS_TYPE_COUNTER)
         && (ds->ds[i].type != DS_TYPE_GAUGE)
        && (ds->ds[i].type != DS_TYPE_DERIVE)
-       && (ds->ds[i].type != DS_TYPE_ABSOLUTE)
+       && (ds->ds[i].type != DS_TYPE_ABSOLUTE))
       return (-1);
 
     if (ds->ds[i].type == DS_TYPE_COUNTER)