Commit 834e8bf1 authored by Jafar Abdi's avatar Jafar Abdi Committed by Daniel P. Berrangé
Browse files

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: default avatarJafar Abdi <cafer.abdi@gmail.com>
Reviewed-by: default avatarEric Blake <eblake@redhat.com>
Signed-off-by: default avatarDaniel P. Berrangé <berrange@redhat.com>
parent c64e1e75
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -239,7 +239,7 @@ qauthz_list_file_init(Object *obj)

    authz->file_watch = -1;
#ifdef CONFIG_INOTIFY1
    authz->refresh = TRUE;
    authz->refresh = true;
#endif
}