]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/entry.c
Install *.schema only
[openldap] / servers / slapd / entry.c
index 460145378afc49998e0c3a9b07e7c7cfb4aa6531..73dacaf48535b916c37d20909cd541c29dc2a2fc 100644 (file)
@@ -41,7 +41,7 @@ str2entry( char *s )
        struct berval   *vals[2];
 #ifdef SLAPD_SCHEMA_NOT_COMPAT
        AttributeDescription *ad;
-       char *text;
+       const char *text;
 #else
        int             nvals = 0;
        int             maxvals = 0;
@@ -145,7 +145,7 @@ str2entry( char *s )
 
                ad_free( ad, 1 );
 #else
-               rc = attr_merge_fast( e, type, vals, nvals, 1, &maxvals, &a )
+               rc = attr_merge_fast( e, type, vals, nvals, 1, &maxvals, &a );
 #endif
 
                if( rc != 0 ) {