]> git.sur5r.net Git - openldap/commitdiff
Bug fix in dn_rdn when dn string begins with whitespace.
authorMark Valence <mrv@openldap.org>
Wed, 14 Jun 2000 03:59:19 +0000 (03:59 +0000)
committerMark Valence <mrv@openldap.org>
Wed, 14 Jun 2000 03:59:19 +0000 (03:59 +0000)
servers/slapd/dn.c

index dd3a8ef76dfaadd371f19cfb204c9c041132c52f..72891cfb47f59c759a6bdbd522c5d345ec8c6a40 100644 (file)
@@ -263,7 +263,7 @@ char * dn_rdn(
        }
 
        while(*dn_in && ASCII_SPACE(*dn_in)) {
-               dn++;
+               dn_in++;
        }
 
        if( *dn_in == '\0' ) {