use rd instead of i looking for listeners (line 848)

This commit is contained in:
Gary Williams 1999-07-20 21:55:06 +00:00
parent e892ebfc5e
commit f4eb2feba5

View 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;
}