]> git.sur5r.net Git - openldap/commitdiff
don't short circuit callback list
authorPierangelo Masarati <ando@openldap.org>
Sat, 14 Mar 2009 16:27:59 +0000 (16:27 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sat, 14 Mar 2009 16:27:59 +0000 (16:27 +0000)
contrib/slapd-modules/cloak/cloak.c

index 5e4f11d0e5be403f390a2111da77d2d65cdfa9bc..6dfb7d3e56ed71114e114581753c1e06bcd525e8 100644 (file)
@@ -270,7 +270,7 @@ cloak_search( Operation *op, SlapReply *rs )
        sc = op->o_tmpcalloc( 1, sizeof( *sc ), op->o_tmpmemctx );
        sc->sc_response = cloak_search_cb;
        sc->sc_cleanup = NULL;
-       sc->sc_next = NULL;
+       sc->sc_next = op->o_callback;
        sc->sc_private = ci;
        op->o_callback = sc;