From: Howard Chu Date: Mon, 5 Feb 2007 07:55:24 +0000 (+0000) Subject: Fix typos X-Git-Tag: OPENLDAP_REL_ENG_2_4_4ALPHA~8^2~82 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=42aca03eeafa8b981f54a126660881f6fb5db7e0;p=openldap Fix typos --- diff --git a/servers/slapd/ldapsync.c b/servers/slapd/ldapsync.c index 95eb9e83d5..59334851d7 100644 --- a/servers/slapd/ldapsync.c +++ b/servers/slapd/ldapsync.c @@ -40,7 +40,7 @@ slap_compose_sync_cookie( int len, numcsn = 0; if ( csn ) { - for (; !BER_BVISEMPTY( &csn[numcsn] ); numcsn++); + for (; !BER_BVISNULL( &csn[numcsn] ); numcsn++); } if ( numcsn == 0 || rid == -1 ) { @@ -68,7 +68,7 @@ slap_compose_sync_cookie( len = sprintf( cookie->bv_val, "rid=%03d,csn=", rid ); ptr = cookie->bv_val + len; for ( i=0; ibv_val, csn->bv_len ); + ptr = lutil_strncopy( ptr, csn[i].bv_val, csn[i].bv_len ); *ptr++ = ';'; } ptr--;