From 711c702943625a0d0ae35663eb9795c3cf6042c6 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sat, 15 Oct 2005 00:43:47 +0000 Subject: [PATCH] Send reloadHint TRUE by default --- servers/slapd/syncrepl.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/servers/slapd/syncrepl.c b/servers/slapd/syncrepl.c index 250e06910d..acb0f60261 100644 --- a/servers/slapd/syncrepl.c +++ b/servers/slapd/syncrepl.c @@ -284,12 +284,11 @@ ldap_sync_search( if ( !BER_BVISNULL( &si->si_syncCookie.octet_str ) ) { - ber_printf( ber, "{eO}", - abs(si->si_type), - &si->si_syncCookie.octet_str ); + ber_printf( ber, "{eOb}", + abs(si->si_type), &si->si_syncCookie.octet_str, 1 ); } else { - ber_printf( ber, "{e}", - abs(si->si_type) ); + ber_printf( ber, "{eb}", + abs(si->si_type), 1 ); } if ( (rc = ber_flatten2( ber, &c[0].ldctl_value, 0 )) == LBER_ERROR ) { -- 2.39.5