Commit 12ad28ac authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

wldap32: Don't handle NULL attrs twice.

parent 34282fb5
...@@ -342,7 +342,6 @@ ULONG ldap_add_ext_sW( WLDAP32_LDAP *ld, PWCHAR dn, LDAPModW *attrs[], ...@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment