提交 1a00a74d authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

worker/src/RTC/PortManager.cpp: fix wrong warn log

上级 371d3df8
......@@ -197,14 +197,17 @@ namespace RTC
reinterpret_cast<const struct sockaddr*>(&bindAddr),
flags);
MS_WARN_DEV(
"uv_udp_bind() failed [transport:%s, ip:'%s', port:%" PRIu16 ", attempt:%zu/%zu]: %s",
transportStr.c_str(),
ip.c_str(),
port,
attempt,
numAttempts,
uv_strerror(err));
if (err)
{
MS_WARN_DEV(
"uv_udp_bind() failed [transport:%s, ip:'%s', port:%" PRIu16 ", attempt:%zu/%zu]: %s",
transportStr.c_str(),
ip.c_str(),
port,
attempt,
numAttempts,
uv_strerror(err));
}
break;
}
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论