Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
belle-sip
Commits
e8a7273f
Commit
e8a7273f
authored
Feb 14, 2014
by
Ghislain MARY
Browse files
Fix getaddrinfo on QNX platform.
parent
0e3223ed
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
src/channel.c
src/channel.c
+1
-0
No files found.
src/channel.c
View file @
e8a7273f
...
...
@@ -932,6 +932,7 @@ belle_sip_channel_t *belle_sip_channel_find_from_list(belle_sip_list_t *l, int a
hints
.
ai_family
=
ai_family
;
hints
.
ai_flags
=
AI_NUMERICHOST
|
AI_NUMERICSERV
;
hints
.
ai_socktype
=
SOCK_STREAM
;
// needed on some platforms that return an error otherwise (QNX)
if
(
ai_family
==
AF_INET6
)
hints
.
ai_flags
=
AI_V4MAPPED
;
snprintf
(
portstr
,
sizeof
(
portstr
),
"%i"
,
hop
->
port
);
...
...
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