Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Zbigniew Jędrzejewski-Szmek
polkit
Commits
3a02908e
Commit
3a02908e
authored
Oct 30, 2007
by
David Zeuthen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remember to reset killtimer and fix an error message
parent
871e4c93
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
polkitd/main.c
polkitd/main.c
+1
-1
polkitd/polkit-daemon.c
polkitd/polkit-daemon.c
+4
-0
No files found.
polkitd/main.c
View file @
3a02908e
...
...
@@ -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 s
ession
bus: %s"
,
error
->
message
);
g_warning
(
"Couldn't connect to s
ystem
bus: %s"
,
error
->
message
);
g_error_free
(
error
);
goto
out
;
}
...
...
polkitd/polkit-daemon.c
View file @
3a02908e
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment