]> git.sur5r.net Git - openldap/blobdiff - servers/slurpd/replica.c
allow overlays to inject an abandon without returning SLAPD_ABANDON
[openldap] / servers / slurpd / replica.c
index 8a1605e6169d7ae89098d03a556db3cfba84e8cc..86500e2e69c2287a449b3084696a4a01beea3c94 100644 (file)
@@ -1,7 +1,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 1998-2005 The OpenLDAP Foundation.
+ * Copyright 1998-2006 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -52,7 +52,7 @@ replicate(
     Ri         *ri = (Ri *) ri_arg;
 
     Debug( LDAP_DEBUG_ARGS, "begin replication thread for %s:%d\n",
-           ((Ri *)ri)->ri_hostname, ((Ri *)ri)->ri_port, 0 );
+           ri->ri_hostname, ri->ri_port, 0 );
 
     ri->ri_process( ri );