mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Fix typos
This commit is contained in:
parent
b984564dbd
commit
4e193bc5cb
1 changed files with 3 additions and 3 deletions
|
|
@ -1602,7 +1602,7 @@ config_generic(ConfigArgs *c) {
|
|||
si = ch_malloc( sizeof(ServerID) + len + 1 );
|
||||
si->si_url.bv_val = (char *)(si+1);
|
||||
si->si_url.bv_len = len;
|
||||
strcpy( si->si_url.bv_val, c->argv[3] );
|
||||
strcpy( si->si_url.bv_val, c->argv[2] );
|
||||
} else {
|
||||
if ( sid_list ) {
|
||||
snprintf( c->msg, sizeof( c->msg ),
|
||||
|
|
@ -4113,6 +4113,8 @@ config_add_internal( CfBackInfo *cfb, Entry *e, ConfigArgs *ca, SlapReply *rs,
|
|||
ConfigTable *ct;
|
||||
char *ptr;
|
||||
|
||||
memset( ca, 0, sizeof(ConfigArgs));
|
||||
|
||||
/* Make sure parent exists and entry does not. But allow
|
||||
* Databases and Overlays to be inserted. Don't do any
|
||||
* auto-renumbering if manageDSAit control is present.
|
||||
|
|
@ -4148,8 +4150,6 @@ config_add_internal( CfBackInfo *cfb, Entry *e, ConfigArgs *ca, SlapReply *rs,
|
|||
oc_at = attr_find( e->e_attrs, slap_schema.si_ad_objectClass );
|
||||
if ( !oc_at ) return LDAP_OBJECT_CLASS_VIOLATION;
|
||||
|
||||
memset( ca, 0, sizeof(ConfigArgs));
|
||||
|
||||
/* Fake the coordinates based on whether we're part of an
|
||||
* LDAP Add or if reading the config dir
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue