Diff for /servers/slapd/back-sock/config.c between versions 1.3 and 1.6

version 1.3, 2007/12/24 04:18:26 version 1.6, 2009/01/21 23:40:37
Line 1 Line 1
 /* config.c - sock backend configuration file routine */  /* config.c - sock backend configuration file routine */
 /* $OpenLDAP: pkg/ldap/servers/slapd/back-sock/config.c,v 1.2 2007/09/07 10:20:24 hyc Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/back-sock/config.c,v 1.5 2008/01/07 23:20:14 kurt 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-2009 The OpenLDAP Foundation.
  * All rights reserved.   * All rights reserved.
  *   *
  * Redistribution and use in source and binary forms, with or without   * Redistribution and use in source and binary forms, with or without
Line 84  bs_cf_gen( ConfigArgs *c ) Line 84  bs_cf_gen( ConfigArgs *c )
                 case BS_EXT:                  case BS_EXT:
                         if ( c->valx < 0 ) {                          if ( c->valx < 0 ) {
                                 si->si_extensions = 0;                                  si->si_extensions = 0;
                                   rc = 0;
                         } else {                          } else {
                                   slap_mask_t dels = 0;
                                   rc = verbs_to_mask( c->argc, c->argv, bs_exts, &dels );
                                   if ( rc == 0 )
                                           si->si_extensions ^= dels;
                         }                          }
                         return mask_to_verbs( bs_exts, si->si_extensions, &c->rvalue_vals );                          return rc;
                 }                  }
   
         } else {          } else {

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


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