Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
4c4ad240
Commit
4c4ad240
authored
Dec 21, 2007
by
Pierre d'Herbemont
Browse files
network/io.c: net_Select should return i_total on timeout.
parent
3c325913
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/network/io.c
View file @
4c4ad240
...
@@ -288,7 +288,7 @@ net_ReadInner (vlc_object_t *restrict p_this, unsigned fdc, const int *fdv,
...
@@ -288,7 +288,7 @@ net_ReadInner (vlc_object_t *restrict p_this, unsigned fdc, const int *fdv,
goto
error
;
goto
error
;
case
0
:
// timeout
case
0
:
// timeout
if
(
timeout
)
return
0
;
if
(
timeout
)
return
i_total
;
continue
;
continue
;
}
}
...
...
Write
Preview
Supports
Markdown
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