]> git.sur5r.net Git - openldap/commitdiff
meta_back_db_config: lutil_atou(version,) -> lutil_atoi
authorHallvard Furuseth <hallvard@openldap.org>
Thu, 13 Apr 2006 22:23:03 +0000 (22:23 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Thu, 13 Apr 2006 22:23:03 +0000 (22:23 +0000)
servers/slapd/back-meta/config.c

index 1f0afe0a0df2206d6693b1560a6263a7fecf61b0..822a352a4ce2ee6d5b3ea686de9417e5a01b6eae 100644 (file)
@@ -1062,7 +1062,7 @@ meta_back_db_config(
                        return 1;
                }
 
-               if ( lutil_atou( version, argv[ 1 ] ) != 0 ) {
+               if ( lutil_atoi( version, argv[ 1 ] ) != 0 ) {
                        Debug( LDAP_DEBUG_ANY,
        "%s: line %d: unable to parse version \"%s\" in \"protocol-version <version>\"\n",
                                fname, lineno, argv[ 1 ] );