ITS#8001 fix ldap_sync_initialize

This commit is contained in:
Howard Chu 2014-12-10 22:58:33 +00:00
parent b8912c33ba
commit 234931acb0

View File

@ -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;