mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-07 14:18:15 +08:00
Fix last commit. Should not have deleted assignment to p away.
This commit is contained in:
parent
553b40e6f8
commit
f5c2ba7c3e
@ -58,10 +58,13 @@ ldap_dn2ufn( LDAP_CONST char *dn )
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if ( ldap_is_dns_dn( dn ) ) {
|
||||
if ( ldap_is_dns_dn( dn ) ||
|
||||
( p = strchr( dn, '=' ) ) == NULL )
|
||||
{
|
||||
return( LDAP_STRDUP( dn ) );
|
||||
}
|
||||
|
||||
|
||||
ufn = LDAP_STRDUP( ++p );
|
||||
|
||||
#define INQUOTE 1
|
||||
|
Loading…
Reference in New Issue
Block a user