mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-12 10:54:48 +08:00
ITS#8001 fix ldap_sync_initialize
This commit is contained in:
parent
b8912c33ba
commit
234931acb0
@ -64,10 +64,8 @@ ldap_sync_initialize( ldap_sync_t *ls_in )
|
|||||||
if ( ls == NULL ) {
|
if ( ls == NULL ) {
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
|
||||||
memset( ls, 0, sizeof( ldap_sync_t ) );
|
|
||||||
}
|
}
|
||||||
|
memset( ls, 0, sizeof( ldap_sync_t ) );
|
||||||
|
|
||||||
ls->ls_scope = LDAP_SCOPE_SUBTREE;
|
ls->ls_scope = LDAP_SCOPE_SUBTREE;
|
||||||
ls->ls_timeout = -1;
|
ls->ls_timeout = -1;
|
||||||
|
Loading…
Reference in New Issue
Block a user