Commit 4c4ad240 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

network/io.c: net_Select should return i_total on timeout.

parent 3c325913
...@@ -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;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment