Skip to content

Commit

Permalink
Merge branch 'mingw' of github.com:yomnes0/srt into mingw
Browse files Browse the repository at this point in the history
  • Loading branch information
yomnes0 committed Feb 26, 2024
2 parents 0bc5fa2 + e4cf026 commit 314606f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions srtcore/channel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -796,8 +796,7 @@ int srt::CChannel::sendto(const sockaddr_any& addr, CPacket& packet, const socka
{
if (NET_ERROR == WSA_IO_PENDING)
{
DWORD res_wait = 0;
res_wait = WSAWaitForMultipleEvents(1, &m_SendOverlapped.hEvent, TRUE, 100 /*ms*/, FALSE);
DWORD res_wait = WSAWaitForMultipleEvents(1, &m_SendOverlapped.hEvent, TRUE, 100 /*ms*/, FALSE);
if (res_wait == WAIT_FAILED)
{
LOGC(kslog.Warn, log << "CChannel::WSAWaitForMultipleEvents: failed with " << NET_ERROR);
Expand Down

0 comments on commit 314606f

Please sign in to comment.