]> git.sur5r.net Git - openldap/commitdiff
Fixed parsing of noidlen
authorJulio Sánchez Fernández <jsanchez@openldap.org>
Sat, 29 May 1999 01:32:37 +0000 (01:32 +0000)
committerJulio Sánchez Fernández <jsanchez@openldap.org>
Sat, 29 May 1999 01:32:37 +0000 (01:32 +0000)
libraries/libldap/schema.c

index d86685b6ad651d6694be5997b703b002fb780f15..fa6d0e9a69d7ec207a3c48c17f45db3fbe012715 100644 (file)
@@ -676,7 +676,7 @@ parse_noidlen(char **sp, int *code, int *len)
        }
        if ( **sp == '{' ) {
                (*sp)++;
-               *len = atoi(**sp);
+               *len = atoi(*sp);
                while ( isdigit(**sp) )
                        (*sp)++;
                (*sp)++;