Sophie

Sophie

distrib > Fedora > 19 > i386 > by-pkgid > 9274a1e19093352b5e787f749f96bcf8 > files > 3

xinetd-2.3.15-10.fc19.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 */