]> git.sur5r.net Git - openldap/commitdiff
use rd instead of i looking for listeners (line 848)
authorGary Williams <gwilliams@openldap.org>
Tue, 20 Jul 1999 21:55:06 +0000 (21:55 +0000)
committerGary Williams <gwilliams@openldap.org>
Tue, 20 Jul 1999 21:55:06 +0000 (21:55 +0000)
servers/slapd/daemon.c

index 7c9de87ebcba4ecdbbb52e737c3bb9fee6c4aab0..a007fa1f5e8976536ee454fd65abd419820ceae4 100644 (file)
@@ -845,7 +845,7 @@ slapd_daemon_task(
 #endif
 
                        for ( l = 0; slap_listeners[l] != NULL; l++ ) {
-                               if ( i == slap_listeners[l]->sl_sd ) {
+                               if ( rd == slap_listeners[l]->sl_sd ) {
                                        is_listener = 1;
                                        break;
                                }