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