]> git.sur5r.net Git - openldap/commitdiff
Send reloadHint TRUE by default
authorHoward Chu <hyc@openldap.org>
Sat, 15 Oct 2005 00:43:47 +0000 (00:43 +0000)
committerHoward Chu <hyc@openldap.org>
Sat, 15 Oct 2005 00:43:47 +0000 (00:43 +0000)
servers/slapd/syncrepl.c

index 250e06910d540d2aa82728fa7bc26875723eb763..acb0f60261a74a7f740598d5ed195a6c389df4e5 100644 (file)
@@ -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 ) {