From 586dfc1b1fb019bc81166b43bebc980667fe0c12 Mon Sep 17 00:00:00 2001 From: Lena Date: Sat, 28 Oct 2023 12:53:18 +0200 Subject: [PATCH] uhm oops, remove useless ! operator --- ctru-rs/examples/wifi-info.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctru-rs/examples/wifi-info.rs b/ctru-rs/examples/wifi-info.rs index b8829b52..1e88c93c 100644 --- a/ctru-rs/examples/wifi-info.rs +++ b/ctru-rs/examples/wifi-info.rs @@ -41,7 +41,7 @@ fn print_network_info(ac: &Ac) -> ctru::Result<()> { println!("Wi-Fi security: {:?}", ac.get_wifi_security()?); let proxied = ac.get_proxy_enabled()?; println!("Proxy enabled: {}", proxied); - if !proxied { + if proxied { println!("Proxy port: {}", ac.get_proxy_port()?); println!("Proxy username: {}", ac.get_proxy_username()?); println!("Proxy password: {}", ac.get_proxy_password()?);