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
3042c6b3
Commit
3042c6b3
authored
Feb 12, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Undo [18814]
parent
2fe4ada3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
12 deletions
+1
-12
modules/services_discovery/sap.c
modules/services_discovery/sap.c
+1
-12
No files found.
modules/services_discovery/sap.c
View file @
3042c6b3
...
...
@@ -949,15 +949,10 @@ static int ParseSDPConnection (const char *str, struct sockaddr_storage *addr,
# endif
*
addrlen
=
sizeof
(
struct
sockaddr_in6
);
#if defined(WIN32) || defined(UNDER_CE)
if
(
WSAStringToAddressA
(
host
,
AF_INET6
,
NULL
,
(
LPSOCKADDR
)
addr
,
addrlen
)
)
return
-
1
;
#else
if
(
inet_pton
(
AF_INET6
,
host
,
&
((
struct
sockaddr_in6
*
)
addr
)
->
sin6_addr
)
<=
0
)
return
-
1
;
#endif
*
number
=
(
res
>=
3
)
?
n1
:
1
;
break
;
#endif
...
...
@@ -969,15 +964,9 @@ static int ParseSDPConnection (const char *str, struct sockaddr_storage *addr,
# endif
*
addrlen
=
sizeof
(
struct
sockaddr_in
);
#if defined(WIN32) || defined(UNDER_CE)
if
(
WSAStringToAddressA
(
host
,
AF_INET
,
NULL
,
(
LPSOCKADDR
)
addr
,
addrlen
)
)
return
-
1
;
#else
if
(
inet_pton
(
AF_INET
,
host
,
&
((
struct
sockaddr_in
*
)
addr
)
->
sin_addr
)
<=
0
)
return
-
1
;
#endif
*
number
=
(
res
>=
4
)
?
n2
:
1
;
break
;
...
...
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