]> git.sur5r.net Git - openldap/commitdiff
cleanup
authorKurt Zeilenga <kurt@openldap.org>
Fri, 11 Jun 2004 00:14:01 +0000 (00:14 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Fri, 11 Jun 2004 00:14:01 +0000 (00:14 +0000)
servers/slapd/schema_init.c

index 88cda29eef2a3b7d55b204619b5535da6493c183..47ca323bfd39cb48f4b88a09ca2a8a7e204fd497 100644 (file)
@@ -1984,11 +1984,14 @@ integerBitOrMatch(
 
        /* safe to assume integers are NUL terminated? */
        lValue = SLAP_STRTOL(value->bv_val, NULL, 10);
-       if(( lValue == SLAP_LONG_MIN || lValue == SLAP_LONG_MAX ) && errno == ERANGE ) {
+       if(( lValue == SLAP_LONG_MIN || lValue == SLAP_LONG_MAX ) &&
+               errno == ERANGE )
+       {
                return LDAP_CONSTRAINT_VIOLATION;
        }
 
-       lAssertedValue = SLAP_STRTOL(((struct berval *)assertedValue)->bv_val, NULL, 10);
+       lAssertedValue = SLAP_STRTOL( ((struct berval *)assertedValue)->bv_val,
+               NULL, 10);
        if(( lAssertedValue == SLAP_LONG_MIN || lAssertedValue == SLAP_LONG_MAX )
                && errno == ERANGE )
        {