Diff for /servers/slapd/slapacl.c between versions 1.32 and 1.37

version 1.32, 2008/11/03 12:23:05 version 1.37, 2010/04/13 20:18:09
Line 1 Line 1
   /* $OpenLDAP: pkg/ldap/servers/slapd/slapacl.c,v 1.36 2009/07/22 02:39:57 hyc Exp $ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.  /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *   *
  * Copyright 2004-2008 The OpenLDAP Foundation.   * Copyright 2004-2010 The OpenLDAP Foundation.
  * Portions Copyright 2004 Pierangelo Masarati.   * Portions Copyright 2004 Pierangelo Masarati.
  * All rights reserved.   * All rights reserved.
  *   *
Line 72  slapacl( int argc, char **argv ) Line 73  slapacl( int argc, char **argv )
         char                    *attr = NULL;          char                    *attr = NULL;
         int                     doclose = 0;          int                     doclose = 0;
         BackendDB               *bd;          BackendDB               *bd;
           void                    *thrctx;
   
         slap_tool_init( progname, SLAPACL, argc, argv );          slap_tool_init( progname, SLAPACL, argc, argv );
   
Line 95  slapacl( int argc, char **argv ) Line 97  slapacl( int argc, char **argv )
         argv = &argv[ optind ];          argv = &argv[ optind ];
         argc -= optind;          argc -= optind;
   
         connection_fake_init( &conn, &opbuf, &conn );          thrctx = ldap_pvt_thread_pool_context();
           connection_fake_init( &conn, &opbuf, thrctx );
         op = &opbuf.ob_op;          op = &opbuf.ob_op;
           op->o_tmpmemctx = NULL;
   
         conn.c_listener = &listener;          conn.c_listener = &listener;
         conn.c_listener_url = listener_url;          conn.c_listener_url = listener_url;

Removed from v.1.32  
changed lines
  Added in v.1.37


______________
© Copyright 1998-2020, OpenLDAP Foundation, info@OpenLDAP.org