PolicyKit: Branch 'master'

Miloslav Trmac mitr at kemper.freedesktop.org
Mon Nov 11 15:19:36 PST 2013


 src/polkitbackend/polkitbackendsessionmonitor.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 145d43b9c891f248ad68ebe597cb151a865bdb3a
Author: Miloslav Trmač <mitr at redhat.com>
Date:   Mon Nov 11 23:51:23 2013 +0100

    Don't discard error data returned by polkit_system_bus_name_get_user_sync
    
    https://bugs.freedesktop.org/show_bug.cgi?id=71458

diff --git a/src/polkitbackend/polkitbackendsessionmonitor.c b/src/polkitbackend/polkitbackendsessionmonitor.c
index 05f51c5..e1a9ab3 100644
--- a/src/polkitbackend/polkitbackendsessionmonitor.c
+++ b/src/polkitbackend/polkitbackendsessionmonitor.c
@@ -306,7 +306,7 @@ polkit_backend_session_monitor_get_user_for_subject (PolkitBackendSessionMonitor
     }
   else if (POLKIT_IS_SYSTEM_BUS_NAME (subject))
     {
-      ret = (PolkitIdentity*)polkit_system_bus_name_get_user_sync (POLKIT_SYSTEM_BUS_NAME (subject), NULL, NULL);
+      ret = (PolkitIdentity*)polkit_system_bus_name_get_user_sync (POLKIT_SYSTEM_BUS_NAME (subject), NULL, error);
     }
   else if (POLKIT_IS_UNIX_SESSION (subject))
     {


More information about the hal-commit mailing list