diff options
author | Ray Strode <rstrode@redhat.com> | 2018-03-23 10:48:44 -0400 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2018-03-28 16:46:36 -0400 |
commit | 8b2fd8cf09fe93b9f5d39469174bbb319cddc2ff (patch) | |
tree | 8878592a1222f33f77f9d2ff0d4ece4570455c9f | |
parent | a667ac2998c77a765ae1a48b7adaf7786cfbd43a (diff) | |
download | polkit-8b2fd8cf09fe93b9f5d39469174bbb319cddc2ff.tar.gz |
jsauthority: JSVAL_IS_NULL (o) to o.isNull()
-rw-r--r-- | src/polkitbackend/polkitbackendjsauthority.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/polkitbackend/polkitbackendjsauthority.cpp b/src/polkitbackend/polkitbackendjsauthority.cpp index 8cc2c1e..ad2c3eb 100644 --- a/src/polkitbackend/polkitbackendjsauthority.cpp +++ b/src/polkitbackend/polkitbackendjsauthority.cpp @@ -1233,7 +1233,7 @@ polkit_backend_js_authority_check_authorization_sync (PolkitBackendInteractiveAu goto out; } - if (JSVAL_IS_NULL (rval)) + if (rval.isNull()) { /* this fine, means there was no match, use implicit authorizations */ good = TRUE; |