]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-monitor/search.c
address ITS#4332; might remove dynamicObject counting
[openldap] / servers / slapd / back-monitor / search.c
index 591287d06cfc73777e2d4fe2c93b4bb44d903eb2..e71afa20b0567be706392d2deeaebeea3cfe0484 100644 (file)
@@ -2,7 +2,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 2001-2005 The OpenLDAP Foundation.
+ * Copyright 2001-2006 The OpenLDAP Foundation.
  * Portions Copyright 2001-2003 Pierangelo Masarati.
  * All rights reserved.
  *
@@ -113,7 +113,7 @@ monitor_send_children(
                if ( rc == LDAP_COMPARE_TRUE ) {
                        rs->sr_entry = e;
                        rs->sr_flags = 0;
-                       send_search_entry( op, rs );
+                       rc = send_search_entry( op, rs );
                        rs->sr_entry = NULL;
                }