From bd039940d1e46a7794f29b8839a0f02a044caa08 Mon Sep 17 00:00:00 2001 From: turbocat Date: Tue, 25 May 2021 15:54:40 +0000 Subject: [PATCH] Whois: Fixed crash git-svn-id: svn://kolibrios.org@8746 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/network/whois/whois.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/programs/network/whois/whois.c b/programs/network/whois/whois.c index 734c45ac26..c728c6e3ff 100644 --- a/programs/network/whois/whois.c +++ b/programs/network/whois/whois.c @@ -13,6 +13,7 @@ int errno; #include #include #include +#include FILE *out=stdout; @@ -59,7 +60,7 @@ int main(int argc , char *argv[]) exit(0); } if(out==stdout){ - con_set_title("Whois"); + con_init_opt(-1,-1,-1,-1, "Whois"); } get_whois_data(domain , &data); exit(0);