]> git.ipfire.org Git - thirdparty/collectd.git/commitdiff
fix typo
authorSvetlana Shmidt <sshmidt@google.com>
Mon, 7 Sep 2020 11:02:33 +0000 (11:02 +0000)
committerSvetlana Shmidt <sshmidt@google.com>
Mon, 7 Sep 2020 11:02:33 +0000 (11:02 +0000)
src/daemon/distribution.c

index a6f04f12a14a181c7fbef8433fbfa03fb1fa4449..c402431e89e1f3921da419f8455ac8c603014764 100644 (file)
@@ -387,7 +387,7 @@ int distribution_sub(distribution_t *d1, distribution_t *d2) {
   d1->total_sum -= d2->total_sum;
   d1->total_square_sum -= d2->total_square_sum;
   for (size_t i = 0; i < tree_size(d1->num_buckets); i++) {
-    d1->tree[i].bucket_counter -= d2.tree[i].bucket_counter;
+    d1->tree[i].bucket_counter -= d2->tree[i].bucket_counter;
   }
 
   pthread_mutex_unlock(&d2->mutex);