Disabled fuzz test
This commit is contained in:
parent
2a03857955
commit
a588f6b6e1
@ -499,7 +499,7 @@ void ServerConnection::send_voice_data(const void *buffer, size_t buffer_length,
|
|||||||
if(head) /* head packet */
|
if(head) /* head packet */
|
||||||
packet->enable_flag(ts::protocol::PacketFlag::Compressed);
|
packet->enable_flag(ts::protocol::PacketFlag::Compressed);
|
||||||
|
|
||||||
#define FUZZ_VOICE
|
//#define FUZZ_VOICE
|
||||||
#ifdef FUZZ_VOICE
|
#ifdef FUZZ_VOICE
|
||||||
if((rand() % 10) < 2) {
|
if((rand() % 10) < 2) {
|
||||||
log_info(category::connection, tr("Dropping voice packet"));
|
log_info(category::connection, tr("Dropping voice packet"));
|
||||||
|
Loading…
Reference in New Issue
Block a user