From 1623874764aeb9e6dd621cc5a6cf6b6ca25c8546 Mon Sep 17 00:00:00 2001 From: Costa Tsaousis Date: Tue, 10 May 2016 04:29:52 +0300 Subject: [PATCH] fixed typo --- src/appconfig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++; } -- 2.39.2