Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
e602abf8
Commit
e602abf8
authored
Jan 07, 2015
by
Thomas Guillem
Committed by
Jean-Baptiste Kempf
Jan 12, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dsm: use NETBIOS_FILESERVER define
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
8227f7e6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
modules/access/dsm/access.c
modules/access/dsm/access.c
+2
-1
modules/access/dsm/sd.c
modules/access/dsm/sd.c
+1
-1
No files found.
modules/access/dsm/access.c
View file @
e602abf8
...
@@ -306,7 +306,8 @@ static int get_address( access_t *p_access )
...
@@ -306,7 +306,8 @@ static int get_address( access_t *p_access )
struct
addrinfo
*
p_info
=
NULL
;
struct
addrinfo
*
p_info
=
NULL
;
/* Is this a netbios name on this LAN ? */
/* Is this a netbios name on this LAN ? */
if
(
netbios_ns_resolve
(
p_sys
->
p_ns
,
p_sys
->
url
.
psz_host
,
0x20
,
if
(
netbios_ns_resolve
(
p_sys
->
p_ns
,
p_sys
->
url
.
psz_host
,
NETBIOS_FILESERVER
,
&
p_sys
->
addr
.
s_addr
)
)
&
p_sys
->
addr
.
s_addr
)
)
{
{
strlcpy
(
p_sys
->
netbios_name
,
p_sys
->
url
.
psz_host
,
16
);
strlcpy
(
p_sys
->
netbios_name
,
p_sys
->
url
.
psz_host
,
16
);
...
...
modules/access/dsm/sd.c
View file @
e602abf8
...
@@ -73,7 +73,7 @@ static void *Run( void *data )
...
@@ -73,7 +73,7 @@ static void *Run( void *data )
netbios_ns_entry
*
p_entry
=
netbios_ns_entry_at
(
p_sys
->
p_ns
,
i
);
netbios_ns_entry
*
p_entry
=
netbios_ns_entry_at
(
p_sys
->
p_ns
,
i
);
char
type
=
netbios_ns_entry_type
(
p_entry
);
char
type
=
netbios_ns_entry_type
(
p_entry
);
if
(
type
==
0x20
)
if
(
type
==
NETBIOS_FILESERVER
)
{
{
input_item_t
*
p_item
;
input_item_t
*
p_item
;
char
*
psz_mrl
;
char
*
psz_mrl
;
...
...
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