Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
VideoLAN
VLC-iOS
Commits
c591e59c
Commit
c591e59c
authored
Dec 02, 2013
by
Felix Paul Kühne
Browse files
HTTP Upload Controller: don't fail to return the IP if there is no need to fail
parent
77394291
Changes
1
Hide whitespace changes
Inline
Side-by-side
Sources/VLCHTTPUploaderController.m
View file @
c591e59c
...
...
@@ -108,7 +108,7 @@
struct
ifaddrs
*
temp_addr
=
NULL
;
int
success
=
getifaddrs
(
&
interfaces
);
if
(
!
success
)
{
if
(
success
!=
0
)
{
freeifaddrs
(
interfaces
);
return
address
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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