]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-shell/result.c
Add search no-op support.
[openldap] / servers / slapd / back-shell / result.c
index f2dd0e45939f59eb340a40a11cf290d943816a35..aaadf6bec7f403bec52a787232cd419669d8c5f4 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,
-    char       **attrs,
+    AttributeName *attrs,
     int                attrsonly
 )
 {
@@ -82,8 +82,8 @@ read_and_send_results(
                                Debug( LDAP_DEBUG_ANY, "str2entry(%s) failed\n",
                                    buf, 0, 0 );
                        } else {
-                               send_search_entry( be, conn, op, e, attrs,
-                                   attrsonly, NULL );
+                               send_search_entry( be, conn, op, e,
+                                       attrs, attrsonly, NULL );
                                entry_free( e );
                        }
 
@@ -111,6 +111,6 @@ print_suffixes(
        int     i;
 
        for ( i = 0; be->be_suffix[i] != NULL; i++ ) {
-               fprintf( fp, "suffix: %s\n", be->be_suffix[i] );
+               fprintf( fp, "suffix: %s\n", be->be_suffix[i]->bv_val );
        }
 }