X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=servers%2Fslapd%2Fback-monitor%2Fentry.c;h=aaf9ed6a17dabf78895b9fb39cb9f72615d66ebf;hb=9f2c72e5fb97a023fba73c375ff2eba343a66a3e;hp=e31e9183ce72c10e51bde763e6d19476755e6cec;hpb=6018fe9671dcbb90e3845bc14851858c5d9fdf2a;p=openldap diff --git a/servers/slapd/back-monitor/entry.c b/servers/slapd/back-monitor/entry.c index e31e9183ce..aaf9ed6a17 100644 --- a/servers/slapd/back-monitor/entry.c +++ b/servers/slapd/back-monitor/entry.c @@ -2,7 +2,7 @@ /* $OpenLDAP$ */ /* This work is part of OpenLDAP Software . * - * Copyright 2001-2011 The OpenLDAP Foundation. + * Copyright 2001-2012 The OpenLDAP Foundation. * Portions Copyright 2001-2003 Pierangelo Masarati. * All rights reserved. * @@ -151,7 +151,7 @@ monitor_entry_test_flags( } monitor_entry_t * -monitor_entrypriv_create( void ) +monitor_back_entrypriv_create( void ) { monitor_entry_t *mp; @@ -174,11 +174,11 @@ monitor_entry_stub( struct berval *pndn, struct berval *rdn, ObjectClass *oc, - monitor_info_t *mi, struct berval *create, struct berval *modify ) { + monitor_info_t *mi; AttributeDescription *nad = NULL; Entry *e; struct berval nat; @@ -186,6 +186,8 @@ monitor_entry_stub( const char *text; int rc; + mi = ( monitor_info_t * )be_monitor->be_private; + nat = *rdn; ptr = strchr( nat.bv_val, '=' ); nat.bv_len = ptr - nat.bv_val;