]> git.sur5r.net Git - openldap/commitdiff
ITS#4765 init slap_daemon.sd_actives
authorHoward Chu <hyc@openldap.org>
Fri, 1 Dec 2006 15:02:14 +0000 (15:02 +0000)
committerHoward Chu <hyc@openldap.org>
Fri, 1 Dec 2006 15:02:14 +0000 (15:02 +0000)
servers/slapd/daemon.c

index d9ea1fd04d935997cff9b807c36f4e6785c2aca4..ccafda3a12bfab3202c8d9efe297d93d8fe9d715 100644 (file)
@@ -494,6 +494,7 @@ static struct slap_daemon {
 
 # define SLAP_SOCK_INIT                        do { \
        SLAP_SELECT_CHK_SETSIZE; \
+       FD_ZERO(&slap_daemon.sd_actives); \
        FD_ZERO(&slap_daemon.sd_readers); \
        FD_ZERO(&slap_daemon.sd_writers); \
 } while (0)