From f512bf6b5a5c003560e421a0ccf4c1adb19148f5 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Thu, 21 Jul 2022 19:27:55 +0200 Subject: [PATCH] remove server from hyprctl as it's unused --- hyprctl/main.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/hyprctl/main.cpp b/hyprctl/main.cpp index 4ff1aade..27b33523 100644 --- a/hyprctl/main.cpp +++ b/hyprctl/main.cpp @@ -105,13 +105,6 @@ void requestHyprpaper(std::string arg) { return; } - const auto SERVER = gethostbyname("localhost"); - - if (!SERVER) { - std::cout << "Couldn't get host (2)"; - return; - } - // get the instance signature auto instanceSig = getenv("HYPRLAND_INSTANCE_SIGNATURE");