提交 8c36e35b authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

DtlsTransport.cpp: make clang-tidy happy (s/timer_us/timerUs/g)

上级 eb48652c
...@@ -46,14 +46,14 @@ inline static void onSslInfo(const SSL* ssl, int where, int ret) ...@@ -46,14 +46,14 @@ inline static void onSslInfo(const SSL* ssl, int where, int ret)
static_cast<RTC::DtlsTransport*>(SSL_get_ex_data(ssl, 0))->OnSslInfo(where, ret); static_cast<RTC::DtlsTransport*>(SSL_get_ex_data(ssl, 0))->OnSslInfo(where, ret);
} }
inline unsigned int onSslDtlsTimer(SSL* /*ssl*/, unsigned int timer_us) inline unsigned int onSslDtlsTimer(SSL* /*ssl*/, unsigned int timerUs)
{ {
if (timer_us == 0) if (timerUs == 0)
return 100000; return 100000;
else if (timer_us >= 4000000) else if (timerUs >= 4000000)
return 4000000; return 4000000;
else else
return 2 * timer_us; return 2 * timerUs;
} }
namespace RTC namespace RTC
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论