]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
acl: Fix compiler warning with -Wstrict-bool
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Sun, 8 Oct 2017 22:22:47 +0000 (01:22 +0300)
committerAki Tuomi <aki.tuomi@dovecot.fi>
Mon, 9 Oct 2017 06:57:52 +0000 (09:57 +0300)
src/plugins/acl/acl-backend-vfile.c

index 37099991852927a822f4a7b44447ff570a5547f6..b6af2fa06c490b2f3a49e1008743113f7156115d 100644 (file)
@@ -455,7 +455,7 @@ acl_backend_vfile_read_with_retry(struct acl_object *aclobj,
        return ret <= 0 ? -1 : 0;
 }
 
-static int
+static bool
 acl_vfile_validity_has_changed(struct acl_backend_vfile *backend,
                               const struct acl_vfile_validity *validity,
                               const struct stat *st)