clean: remove debug print
This commit is contained in:
@ -149,7 +149,6 @@ void signal_handler(int code)
|
|||||||
|
|
||||||
char *dns_lookup(const char *hostname)
|
char *dns_lookup(const char *hostname)
|
||||||
{
|
{
|
||||||
printf("%s\n",hostname);
|
|
||||||
char *ipstr = malloc(sizeof(char) * INET_ADDRSTRLEN);
|
char *ipstr = malloc(sizeof(char) * INET_ADDRSTRLEN);
|
||||||
if (ipstr == NULL)
|
if (ipstr == NULL)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|||||||
Reference in New Issue
Block a user