From 5282ecd94be7cb958ad040564e72214f9a53af15 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Wed, 5 Dec 2001 16:41:45 +0000 Subject: [PATCH] I should finish my morning coke before making my first commit of the day. Fixes errors in prior commits. --- servers/slapd/filter.c | 2 +- servers/slapd/modify.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/servers/slapd/filter.c b/servers/slapd/filter.c index dee2197761..a0d51a4b72 100644 --- a/servers/slapd/filter.c +++ b/servers/slapd/filter.c @@ -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; diff --git a/servers/slapd/modify.c b/servers/slapd/modify.c index 4bc3b0c41e..b63fd72234 100644 --- a/servers/slapd/modify.c +++ b/servers/slapd/modify.c @@ -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; -- 2.39.5