11 lines
464 B
Diff
11 lines
464 B
Diff
--- xinetd/confparse.c.orig 2015-05-31 12:28:33.148468478 +0200
|
|
+++ xinetd/confparse.c 2015-05-31 12:28:41.588557956 +0200
|
|
@@ -746,7 +746,7 @@ static status_e check_entry( struct serv
|
|
}
|
|
|
|
/* #ifndef NO_RPC */
|
|
-#if defined(HAVE_RPC_RPCENT_H) || defined(HAVE_NETDB_H)
|
|
+#if defined(HAVE_RPC_RPCENT_H) && defined(HAVE_NETDB_H)
|
|
if ( SC_IS_RPC( scp ) && !SC_IS_UNLISTED( scp ) )
|
|
{
|
|
struct rpcent *rep = (struct rpcent *)getrpcbyname( SC_NAME(scp) ) ;
|