]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-shell/result.c
Cleanup up LDAP_CLIENT_UPDATE code... including some bug fixing.
[openldap] / servers / slapd / back-shell / result.c
index adfd86f59bf5769a4eccf1c5912239b6fd3ebdf0..ded78f03c489bca4238d1ea26f69a002c601051f 100644 (file)
@@ -1,7 +1,7 @@
 /* result.c - shell backend result reading function */
 /* $OpenLDAP$ */
 /*
- * Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved.
+ * Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved.
  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
  */
 
@@ -23,7 +23,7 @@ read_and_send_results(
     Connection *conn,
     Operation  *op,
     FILE       *fp,
-    struct berval **attrs,
+    AttributeName *attrs,
     int                attrsonly
 )
 {
@@ -110,7 +110,7 @@ print_suffixes(
 {
        int     i;
 
-       for ( i = 0; be->be_suffix[i] != NULL; i++ ) {
-               fprintf( fp, "suffix: %s\n", be->be_suffix[i]->bv_val );
+       for ( i = 0; be->be_suffix[i].bv_val != NULL; i++ ) {
+               fprintf( fp, "suffix: %s\n", be->be_suffix[i].bv_val );
        }
 }