wldap32: Don't handle NULL attrs twice.

This commit is contained in:
Hans Leidekker 2006-04-08 16:11:34 +02:00 committed by Alexandre Julliard
parent 34282fb518
commit 12ad28acfe
1 changed files with 0 additions and 1 deletions

View File

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