]> git.sur5r.net Git - openldap/commitdiff
genTime: Move validate above normalizer
authorKurt Zeilenga <kurt@openldap.org>
Fri, 30 Jun 2000 02:18:58 +0000 (02:18 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Fri, 30 Jun 2000 02:18:58 +0000 (02:18 +0000)
servers/slapd/schema_init.c

index 1c3d4b26243226341673712319c7b7108f96d189..da00880393fa8f55d6c5631eb6fc0ad88a849b07 100644 (file)
@@ -1469,6 +1469,16 @@ utcTimeValidate(
        return check_time_syntax(in, 1, parts);
 }
 
+static int
+generalizedTimeValidate(
+       Syntax *syntax,
+       struct berval *in )
+{
+       int parts[9];
+
+       return check_time_syntax(in, 0, parts);
+}
+
 static int
 generalizedTimeNormalize(
        Syntax *syntax,
@@ -1503,16 +1513,6 @@ generalizedTimeNormalize(
        return LDAP_SUCCESS;
 }
 
-static int
-generalizedTimeValidate(
-       Syntax *syntax,
-       struct berval *in )
-{
-       int parts[9];
-
-       return check_time_syntax(in, 0, parts);
-}
-
 struct syntax_defs_rec {
        char *sd_desc;
        int sd_flags;