From: Kurt Zeilenga Date: Fri, 11 Jun 2004 00:14:01 +0000 (+0000) Subject: cleanup X-Git-Tag: OPENDLAP_REL_ENG_2_2_MP~292 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=25166f8166adea8c36a43d686280bf4a6c8af5eb;p=openldap cleanup --- diff --git a/servers/slapd/schema_init.c b/servers/slapd/schema_init.c index 88cda29eef..47ca323bfd 100644 --- a/servers/slapd/schema_init.c +++ b/servers/slapd/schema_init.c @@ -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 ) {