]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/cancel.c
Add trickle-sync for quick mode
[openldap] / servers / slapd / cancel.c
index 1f8ee7b9eea2fbea99404b9c54ec0d3e12d4382a..4d62a5a2c92a9bb06e9b73db8947ca62c2512706 100644 (file)
@@ -18,7 +18,6 @@
 
 #include <stdio.h>
 
-#include <ac/krb.h>
 #include <ac/socket.h>
 #include <ac/string.h>
 #include <ac/unistd.h>
@@ -68,7 +67,7 @@ int cancel_extop( Operation *op, SlapReply *rs )
        ldap_pvt_thread_mutex_lock( &op->o_conn->c_mutex );
        LDAP_STAILQ_FOREACH( o, &op->o_conn->c_pending_ops, o_next ) {
                if ( o->o_msgid == opid ) {
-                       LDAP_STAILQ_REMOVE( &op->o_conn->c_pending_ops, o, slap_op, o_next );
+                       LDAP_STAILQ_REMOVE( &op->o_conn->c_pending_ops, o, Operation, o_next );
                        LDAP_STAILQ_NEXT(o, o_next) = NULL;
                        op->o_conn->c_n_ops_pending--;
                        slap_op_free( o );