Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
be41036f
Commit
be41036f
authored
Feb 06, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SD probe: fix return value symbolic constant
parent
191fab81
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
modules/services_discovery/udev.c
modules/services_discovery/udev.c
+1
-1
modules/services_discovery/xcb_apps.c
modules/services_discovery/xcb_apps.c
+1
-1
No files found.
modules/services_discovery/udev.c
View file @
be41036f
...
@@ -68,7 +68,7 @@ static int vlc_sd_probe_Open (vlc_object_t *obj)
...
@@ -68,7 +68,7 @@ static int vlc_sd_probe_Open (vlc_object_t *obj)
struct
udev
*
udev
=
udev_new
();
struct
udev
*
udev
=
udev_new
();
if
(
udev
==
NULL
)
if
(
udev
==
NULL
)
return
VLC_
EGENERIC
;
return
VLC_
PROBE_CONTINUE
;
struct
udev_monitor
*
mon
=
udev_monitor_new_from_netlink
(
udev
,
"udev"
);
struct
udev_monitor
*
mon
=
udev_monitor_new_from_netlink
(
udev
,
"udev"
);
if
(
mon
!=
NULL
)
if
(
mon
!=
NULL
)
...
...
modules/services_discovery/xcb_apps.c
View file @
be41036f
...
@@ -77,7 +77,7 @@ static int vlc_sd_probe_Open (vlc_object_t *obj)
...
@@ -77,7 +77,7 @@ static int vlc_sd_probe_Open (vlc_object_t *obj)
xcb_connection_t
*
conn
=
xcb_connect
(
display
,
NULL
);
xcb_connection_t
*
conn
=
xcb_connect
(
display
,
NULL
);
free
(
display
);
free
(
display
);
if
(
xcb_connection_has_error
(
conn
))
if
(
xcb_connection_has_error
(
conn
))
return
VLC_
EGENERIC
;
return
VLC_
PROBE_CONTINUE
;
xcb_disconnect
(
conn
);
xcb_disconnect
(
conn
);
return
vlc_sd_probe_Add
(
probe
,
"xcb_apps"
,
N_
(
"Screen capture"
));
return
vlc_sd_probe_Add
(
probe
,
"xcb_apps"
,
N_
(
"Screen capture"
));
}
}
...
...
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