summaryrefslogtreecommitdiffstats
path: root/authz
diff options
context:
space:
mode:
authorJafar Abdi2019-03-23 15:26:34 +0100
committerDaniel P. Berrangé2020-02-07 13:22:19 +0100
commit834e8bf17c067bbc00e4034b10cec98eef363431 (patch)
tree3726c054a84982f4b243cf052f4796931df38795 /authz
parentio/channel-websock: treat 'binary' and no sub-protocol as the same (diff)
downloadqemu-834e8bf17c067bbc00e4034b10cec98eef363431.tar.gz
qemu-834e8bf17c067bbc00e4034b10cec98eef363431.tar.xz
qemu-834e8bf17c067bbc00e4034b10cec98eef363431.zip
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')
-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
}