Diff for /servers/slapd/back-sock/init.c between versions 1.2 and 1.3

version 1.2, 2007/09/07 10:20:24 version 1.3, 2007/12/24 04:18:26
Line 1 Line 1
 /* init.c - initialize sock backend */  /* init.c - initialize sock backend */
 /* $OpenLDAP: pkg/ldap/servers/slapd/back-sock/init.c,v 1.1 2007/09/07 10:04:55 hyc Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/back-sock/init.c,v 1.2 2007/09/07 10:20:24 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 2007 The OpenLDAP Foundation.   * Copyright 2007 The OpenLDAP Foundation.
Line 38  sock_back_initialize( Line 38  sock_back_initialize(
         bi->bi_destroy = 0;          bi->bi_destroy = 0;
   
         bi->bi_db_init = sock_back_db_init;          bi->bi_db_init = sock_back_db_init;
         bi->bi_db_config = sock_back_db_config;          bi->bi_db_config = 0;
         bi->bi_db_open = 0;          bi->bi_db_open = 0;
         bi->bi_db_close = 0;          bi->bi_db_close = 0;
         bi->bi_db_destroy = sock_back_db_destroy;          bi->bi_db_destroy = sock_back_db_destroy;
Line 60  sock_back_initialize( Line 60  sock_back_initialize(
         bi->bi_connection_init = 0;          bi->bi_connection_init = 0;
         bi->bi_connection_destroy = 0;          bi->bi_connection_destroy = 0;
   
         return 0;          return sock_back_init_cf( bi );
 }  }
   
 int  int
Line 74  sock_back_db_init( Line 74  sock_back_db_init(
         si = (struct sockinfo *) ch_calloc( 1, sizeof(struct sockinfo) );          si = (struct sockinfo *) ch_calloc( 1, sizeof(struct sockinfo) );
   
         be->be_private = si;          be->be_private = si;
           be->be_cf_ocs = be->bd_info->bi_cf_ocs;
   
         return si == NULL;          return si == NULL;
 }  }

Removed from v.1.2  
changed lines
  Added in v.1.3


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