diff options
author | Ray Strode <rstrode@redhat.com> | 2018-03-23 10:48:44 -0400 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2018-04-03 14:16:38 -0400 |
commit | a235091b9cc8666492d3d2c7ce3434f046f1cdbe (patch) | |
tree | 00841f81e98591d3d7a2b4a105de51ee4fee8f2d /src/polkitbackend | |
parent | e81601fca6cc9ab189f7ecdab680e4e78a24718b (diff) | |
download | polkit-a235091b9cc8666492d3d2c7ce3434f046f1cdbe.tar.gz |
jsauthority: JSVAL_IS_NULL (o) to o.isNull()
Signed-off-by: Ray Strode <rstrode@redhat.com>
https://bugs.freedesktop.org/show_bug.cgi?id=105865
Diffstat (limited to 'src/polkitbackend')
-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 71394d7..e8fff15 100644 --- a/src/polkitbackend/polkitbackendjsauthority.cpp +++ b/src/polkitbackend/polkitbackendjsauthority.cpp @@ -1238,7 +1238,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; |