Skip to content

Commit

Permalink
[core] remove MSG_TRUNC logging
Browse files Browse the repository at this point in the history
The code does not compile on platforms/SDKs where MSG_TRUNC doesn't exist
(mingw-w64/windows).
  • Loading branch information
robUx4 authored and maxsharabayko committed Sep 2, 2022
1 parent daf838e commit 646bf2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion srtcore/channel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -878,7 +878,7 @@ srt::EReadStatus srt::CChannel::recvfrom(sockaddr_any& w_addr, CPacket& w_packet
{
HLOGC(krlog.Debug,
log << CONID() << "NET ERROR: packet size=" << recv_size << " msg_flags=0x" << hex << msg_flags
<< ", possibly MSG_TRUNC (0x" << hex << int(MSG_TRUNC) << ")");
<< ", possibly MSG_TRUNC)");
status = RST_AGAIN;
goto Return_error;
}
Expand Down

0 comments on commit 646bf2c

Please sign in to comment.