Sophie

Sophie

distrib > Fedora > 13 > i386 > media > updates-src > by-pkgid > b9ce35bcd1a6219ce1b548a9fd7610a4 > files > 7

xinetd-2.3.14-33.fc13.src.rpm

--- xinetd-2.3.14/xinetd/service.c.orig	2010-03-18 17:09:20.000000000 +0100
+++ xinetd-2.3.14/xinetd/service.c	2010-03-18 17:09:37.000000000 +0100
@@ -470,6 +470,7 @@ void svc_deactivate( struct service *sp 
    {
 #ifdef HAVE_POLL
       SVC_EVENTS( sp ) = 0;
+	  SVC_FD( sp ) = 0;
 #else      
       FD_CLR( SVC_FD( sp ), &ps.rws.socket_mask ) ;
 #endif /* HAVE_POLL */