wldap32: Don't handle NULL attrs twice.
This commit is contained in:
parent
34282fb518
commit
12ad28acfe
|
@ -342,7 +342,6 @@ ULONG ldap_add_ext_sW( WLDAP32_LDAP *ld, PWCHAR dn, LDAPModW *attrs[],
|
||||||
serverctrls, clientctrls );
|
serverctrls, clientctrls );
|
||||||
|
|
||||||
if (!ld) return WLDAP32_LDAP_PARAM_ERROR;
|
if (!ld) return WLDAP32_LDAP_PARAM_ERROR;
|
||||||
if (!attrs) return LDAP_PROTOCOL_ERROR;
|
|
||||||
|
|
||||||
if (dn) {
|
if (dn) {
|
||||||
dnU = strWtoU( dn );
|
dnU = strWtoU( dn );
|
||||||
|
|
Loading…
Reference in New Issue