/* $OpenLDAP$ */
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
*
- * Copyright 2006-2013 The OpenLDAP Foundation.
+ * Copyright 2006-2018 The OpenLDAP Foundation.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
if ( ls == 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_timeout = -1;