]> git.sur5r.net Git - openldap/commitdiff
this test is useless, since noop is masked SLAP_CTRL_UPDATE
authorPierangelo Masarati <ando@openldap.org>
Thu, 29 Aug 2002 12:17:28 +0000 (12:17 +0000)
committerPierangelo Masarati <ando@openldap.org>
Thu, 29 Aug 2002 12:17:28 +0000 (12:17 +0000)
servers/slapd/back-bdb/search.c

index 72202268303854c857a8534ebefcb88457f2ee83..30abec8b259f04faa3b171eb9271b65427b42879 100644 (file)
@@ -579,12 +579,16 @@ id2entry_retry:
                                if (e) {
                                        int result;
                                        
+#if 0  /* noop is masked SLAP_CTRL_UPDATE */
                                        if( op->o_noop ) {
                                                result = 0;
                                        } else {
+#endif
                                                result = send_search_entry( be, conn, op,
                                                        e, attrs, attrsonly, NULL);
+#if 0
                                        }
+#endif
 
                                        switch (result) {
                                        case 0:         /* entry sent ok */