]> git.sur5r.net Git - openldap/commitdiff
I should finish my morning coke before making my first commit of the day.
authorKurt Zeilenga <kurt@openldap.org>
Wed, 5 Dec 2001 16:41:45 +0000 (16:41 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 5 Dec 2001 16:41:45 +0000 (16:41 +0000)
Fixes errors in prior commits.

servers/slapd/filter.c
servers/slapd/modify.c

index dee21977612f3cdafa8902480658c70d7e48a69e..a0d51a4b72015fd06c2de5dda8b847566190bf2e 100644 (file)
@@ -210,7 +210,7 @@ get_filter(
                if( err != LDAP_SUCCESS ) {
                        /* unrecognized attribute description or other error */
                        f->f_choice = SLAPD_FILTER_COMPUTED;
-                       f->f_result = SLAPD_COMPARE_FALSE;
+                       f->f_result = LDAP_COMPARE_FALSE;
                        *fstr = ch_strdup( "(unrecogized=*)" );
                        ch_free( type.bv_val );
                        err = LDAP_SUCCESS;
index 4bc3b0c41ef2a91b618d7a8b33dffb122e2f01fb..b63fd72234786f1c18072e80edb9c045cc8a2415 100644 (file)
@@ -552,7 +552,7 @@ int slap_mods_opattrs(
        struct berval name, timestamp, csn;
        time_t now = slap_get_time();
        char timebuf[22];
-       char csnbuf[128];
+       char csnbuf[64];
        struct tm *ltm;
        Modifications *mod;
 
@@ -583,7 +583,7 @@ int slap_mods_opattrs(
 
        if( op->o_tag == LDAP_REQ_ADD ) {
                struct berval uuid;
-               char uuidbuf[64];
+               char uuidbuf[40];
 
                uuid.bv_len = lutil_uuidstr( uuidbuf, sizeof( uuidbuf ) );
                uuid.bv_val = uuidbuf;