提交 53a33bc0 authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

cosmetic

上级 343037df
...@@ -13,8 +13,8 @@ ...@@ -13,8 +13,8 @@
#include <iostream> #include <iostream>
bool fuzzStun = false; bool fuzzStun = false;
bool fuzzRtcp = false;
bool fuzzRtp = false; bool fuzzRtp = false;
bool fuzzRtcp = false;
int init() int init()
{ {
...@@ -33,25 +33,25 @@ int init() ...@@ -33,25 +33,25 @@ int init()
fuzzStun = true; fuzzStun = true;
} }
if (std::getenv("MS_FUZZ_RTCP") && std::string(std::getenv("MS_FUZZ_RTCP")) == "1")
{
std::cout << "[fuzzer] RTCP checks enabled" << std::endl;
fuzzRtcp = true;
}
if (std::getenv("MS_FUZZ_RTP") && std::string(std::getenv("MS_FUZZ_RTP")) == "1") if (std::getenv("MS_FUZZ_RTP") && std::string(std::getenv("MS_FUZZ_RTP")) == "1")
{ {
std::cout << "[fuzzer] RTP checks enabled" << std::endl; std::cout << "[fuzzer] RTP checks enabled" << std::endl;
fuzzRtp = true; fuzzRtp = true;
} }
if (std::getenv("MS_FUZZ_RTCP") && std::string(std::getenv("MS_FUZZ_RTCP")) == "1")
{
std::cout << "[fuzzer] RTCP checks enabled" << std::endl;
fuzzRtcp = true;
}
if (!fuzzStun && !fuzzRtcp && !fuzzRtp) if (!fuzzStun && !fuzzRtcp && !fuzzRtp)
{ {
std::cout << "[fuzzer] all checks enabled" << std::endl; std::cout << "[fuzzer] all checks enabled" << std::endl;
fuzzStun = true; fuzzStun = true;
fuzzRtcp = true;
fuzzRtp = true; fuzzRtp = true;
fuzzRtcp = true;
} }
return 0; return 0;
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论