X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Ftcpdchk.c;h=f5885d1b98bb69e492e4d0362ede90e193d24c4f;hp=26acb8e1fd554ed98a6ef37c3847e7d8b23f3344;hb=59aa88eb085c71e191802510804588a4f9edbe9b;hpb=37fbd309fef590f0cc0e3bc955161bcb8e37e99e diff --git a/src/tcpdchk.c b/src/tcpdchk.c index 26acb8e..f5885d1 100644 --- a/src/tcpdchk.c +++ b/src/tcpdchk.c @@ -71,7 +71,6 @@ int check_ip_tcpd(void *cd, const char *addr, int len, int type) #if HAVE_TCPD_H struct request_info request_info; int i; -#endif char *host_name = 0, *host_addr = 0; struct hostent *host; @@ -82,7 +81,6 @@ int check_ip_tcpd(void *cd, const char *addr, int len, int type) AF_INET))) host_name = (char*) host->h_name; host_addr = inet_ntoa(addr_in->sin_addr); -#if HAVE_TCPD_H if (host_addr) request_init(&request_info, RQ_DAEMON, daemon_name, RQ_CLIENT_NAME, host_name,