aboutsummaryrefslogtreecommitdiff
path: root/authz/listfile.c
diff options
context:
space:
mode:
authorJafar Abdi <cafer.abdi@gmail.com>2019-03-23 17:26:34 +0300
committerDaniel P. Berrangé <berrange@redhat.com>2020-02-07 12:22:19 +0000
commit834e8bf17c067bbc00e4034b10cec98eef363431 (patch)
tree3726c054a84982f4b243cf052f4796931df38795 /authz/listfile.c
parentc64e1e75381d0cb53f9fc8f93245a933b12c68a6 (diff)
authz: fix usage of bool in listfile.c
Clean up wrong usage of FALSE and TRUE in places that use "bool" from stdbool.h. FALSE and TRUE (with capital letters) are the constants defined by glib for being used with the "gboolean" type of glib. But some parts of the code also use TRUE and FALSE for variables that are declared as "bool" (the type from <stdbool.h>). Signed-off-by: Jafar Abdi <cafer.abdi@gmail.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'authz/listfile.c')
-rw-r--r--authz/listfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/authz/listfile.c b/authz/listfile.c
index e7a8c19bcb..b71f57d30a 100644
--- a/authz/listfile.c
+++ b/authz/listfile.c
@@ -239,7 +239,7 @@ qauthz_list_file_init(Object *obj)
authz->file_watch = -1;
#ifdef CONFIG_INOTIFY1
- authz->refresh = TRUE;
+ authz->refresh = true;
#endif
}