diff options
author | Ray Strode <rstrode@redhat.com> | 2018-03-23 10:48:44 -0400 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2018-04-03 10:49:52 -0400 |
commit | 55678d4abcc051ac50707b0bdee40da810443d7f (patch) | |
tree | 00841f81e98591d3d7a2b4a105de51ee4fee8f2d | |
parent | 04e696c3c812834ba07fb3673da4ee08e8106b0d (diff) | |
download | polkit-55678d4abcc051ac50707b0bdee40da810443d7f.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
-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; |