Skip to content

Commit

Permalink
demux: adaptative: don't retry on EINTR
Browse files Browse the repository at this point in the history
  • Loading branch information
fcartegnie committed Nov 10, 2015
1 parent cc1a357 commit 51f2e96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/demux/adaptative/http/Sockets.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ ssize_t Socket::read(vlc_object_t *stream, void *p_buffer, size_t len)
do
{
size = net_Read(stream, netfd, p_buffer, len);
} while (size < 0 && (errno == EINTR || errno==EAGAIN) );
} while (size < 0 && errno==EAGAIN );
return size;
}

Expand Down

0 comments on commit 51f2e96

Please sign in to comment.