From d2b84e2a3744711ef9bea1f260130d4bfc24282c Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Sun, 13 Aug 2023 19:52:57 -0400
Subject: [PATCH] voipchat: don't simulate DNS failure.
It only causes the program to fail to start, as it's the only DNS lookup,
so it becomes a pain to get the example running at all at high packet-loss
rates, when what you _really_ want to see here is what it sounds like when
packets go missing.
---
examples/voipchat.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/examples/voipchat.c b/examples/voipchat.c
index d294ed8..51c803b 100644
--- a/examples/voipchat.c
+++ b/examples/voipchat.c
@@ -264,7 +264,6 @@ static void run_voipchat(int argc, char **argv)
if (simulate_failure) {
SDL_Log("Simulating failure at %d percent", simulate_failure);
- SDLNet_SimulateAddressResolutionLoss(simulate_failure);
}
if (is_server && hostname) {