forked from KolibriOS/kolibrios
Whois:
Fixed crash git-svn-id: svn://kolibrios.org@8746 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
57e9ef6e7d
commit
bd039940d1
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user