Commit 3a02908e authored by David Zeuthen's avatar David Zeuthen

remember to reset killtimer and fix an error message

parent 871e4c93
......@@ -153,7 +153,7 @@ main (int argc, char **argv)
error = NULL;
bus = dbus_g_bus_get (DBUS_BUS_SYSTEM, &error);
if (bus == NULL) {
g_warning ("Couldn't connect to session bus: %s", error->message);
g_warning ("Couldn't connect to system bus: %s", error->message);
g_error_free (error);
goto out;
}
......
......@@ -459,6 +459,8 @@ polkit_daemon_is_process_authorized (PolKitDaemon *daemon,
GError *error;
PolKitCaller *pk_caller;
reset_killtimer ();
ret = FALSE;
pk_caller = NULL;
......@@ -493,6 +495,8 @@ polkit_daemon_is_system_bus_name_authorized (PolKitDaemon *daemon,
GError *error;
PolKitCaller *pk_caller;
reset_killtimer ();
ret = FALSE;
pk_caller = NULL;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment