From 25166f8166adea8c36a43d686280bf4a6c8af5eb Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Fri, 11 Jun 2004 00:14:01 +0000 Subject: [PATCH] cleanup --- servers/slapd/schema_init.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 ) { -- 2.39.5