Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
dfc527fe
Commit
dfc527fe
authored
Dec 07, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbus_screensaver: remove bogus error
When the service is absent, the error message is NULL anyhow.
parent
97a7b7ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
modules/misc/inhibit/dbus.c
modules/misc/inhibit/dbus.c
+2
-4
No files found.
modules/misc/inhibit/dbus.c
View file @
dfc527fe
...
...
@@ -192,7 +192,7 @@ static int Open (vlc_object_t *obj)
for
(
unsigned
i
=
0
;
i
<
MAX_API
;
i
++
)
{
if
(
dbus_bus_name_has_owner
(
sys
->
conn
,
dbus_service
[
i
],
&
err
))
if
(
dbus_bus_name_has_owner
(
sys
->
conn
,
dbus_service
[
i
],
NULL
))
{
msg_Dbg
(
ih
,
"found service %s"
,
dbus_service
[
i
]);
sys
->
api
=
i
;
...
...
@@ -201,9 +201,7 @@ static int Open (vlc_object_t *obj)
return
VLC_SUCCESS
;
}
msg_Dbg
(
ih
,
"cannot find service %s: %s"
,
dbus_service
[
i
],
err
.
message
);
dbus_error_free
(
&
err
);
msg_Dbg
(
ih
,
"cannot find service %s"
,
dbus_service
[
i
]);
}
Close
(
obj
);
...
...
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