]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/abandon.c
Fallout from ITS#4986 - remove unused param of select_backend()
[openldap] / servers / slapd / abandon.c
index 006a8c8f398eb178aa14f64c559ce7d415a9f1f1..f4a2cb3602154d9af1214931f7f7d42f8ff2d941 100644 (file)
@@ -2,7 +2,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 1998-2005 The OpenLDAP Foundation.
+ * Copyright 1998-2007 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -91,7 +91,7 @@ do_abandon( Operation *op, SlapReply *rs )
                LDAP_STAILQ_FOREACH( o, &op->o_conn->c_pending_ops, o_next ) {
                        if ( o->o_msgid == id ) {
                                LDAP_STAILQ_REMOVE( &op->o_conn->c_pending_ops,
-                                       o, slap_op, o_next );
+                                       o, Operation, o_next );
                                LDAP_STAILQ_NEXT(o, o_next) = NULL;
                                op->o_conn->c_n_ops_pending--;
                                slap_op_free( o );