From: Costa Tsaousis Date: Tue, 10 May 2016 01:29:52 +0000 (+0300) Subject: fixed typo X-Git-Tag: v1.2.0~7^2~38 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1623874764aeb9e6dd621cc5a6cf6b6ca25c8546;p=netdata.git fixed typo --- diff --git a/src/appconfig.c b/src/appconfig.c index 770f315e..26ff4f4b 100644 --- a/src/appconfig.c +++ b/src/appconfig.c @@ -454,7 +454,7 @@ void generate_config(BUFFER *wb, int only_changed) pthread_rwlock_wrlock(&co->rwlock); for(cv = co->values; cv ; cv = cv->next) { - used += (cv->flags && CONFIG_VALUE_USED)?1:0; + used += (cv->flags & CONFIG_VALUE_USED)?1:0; changed += (cv->flags & CONFIG_VALUE_CHANGED)?1:0; count++; }