put conditions on hp so we don't get unreferenced variable warning

This commit is contained in:
Gary Williams 1999-04-14 15:11:57 +00:00
parent f9ab18a57b
commit 3a1aba86ab

View File

@ -268,8 +268,10 @@ slapd_daemon_task(
fd_set writefds;
struct sockaddr_in from;
struct hostent *hp;
struct timeval zero;
#if defined(SLAPD_RLOOKUPS) || defined(HAVE_TCPD)
struct hostent *hp;
#endif
struct timeval zero;
struct timeval *tvp;
char *client_name;