Fixed crash

git-svn-id: svn://kolibrios.org@8746 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
turbocat 2021-05-25 15:54:40 +00:00
parent 57e9ef6e7d
commit bd039940d1

View File

@ -13,6 +13,7 @@ int errno;
#include <stdlib.h> #include <stdlib.h>
#include <sys/socket.h> #include <sys/socket.h>
#include <clayer/network.h> #include <clayer/network.h>
#include <conio.h>
FILE *out=stdout; FILE *out=stdout;
@ -59,7 +60,7 @@ int main(int argc , char *argv[])
exit(0); exit(0);
} }
if(out==stdout){ if(out==stdout){
con_set_title("Whois"); con_init_opt(-1,-1,-1,-1, "Whois");
} }
get_whois_data(domain , &data); get_whois_data(domain , &data);
exit(0); exit(0);