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
dbus
dbus
Commits
14aed647
Commit
14aed647
authored
Mar 21, 2012
by
Alban Crequy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
policy: remove unused parameter
parent
97c11fe2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
4 deletions
+1
-4
bus/policy.c
bus/policy.c
+0
-1
bus/policy.h
bus/policy.h
+0
-1
bus/services.c
bus/services.c
+1
-2
No files found.
bus/policy.c
View file @
14aed647
...
...
@@ -1242,7 +1242,6 @@ bus_client_policy_check_can_receive (BusClientPolicy *policy,
dbus_bool_t
bus_client_policy_check_can_own
(
BusClientPolicy
*
policy
,
DBusConnection
*
connection
,
const
DBusString
*
service_name
)
{
DBusList
*
link
;
...
...
bus/policy.h
View file @
14aed647
...
...
@@ -156,7 +156,6 @@ dbus_bool_t bus_client_policy_check_can_receive (BusClientPolicy *policy,
DBusMessage
*
message
,
dbus_int32_t
*
toggles
);
dbus_bool_t
bus_client_policy_check_can_own
(
BusClientPolicy
*
policy
,
DBusConnection
*
connection
,
const
DBusString
*
service_name
);
dbus_bool_t
bus_client_policy_append_rule
(
BusClientPolicy
*
policy
,
BusPolicyRule
*
rule
);
...
...
bus/services.c
View file @
14aed647
...
...
@@ -459,8 +459,7 @@ bus_registry_acquire_service (BusRegistry *registry,
goto
out
;
}
if
(
!
bus_client_policy_check_can_own
(
policy
,
connection
,
service_name
))
if
(
!
bus_client_policy_check_can_own
(
policy
,
service_name
))
{
dbus_set_error
(
error
,
DBUS_ERROR_ACCESS_DENIED
,
"Connection
\"
%s
\"
is not allowed to own the service
\"
%s
\"
due "
...
...
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